mIRC Home    About    Download    Register    News    Help

Topic Options
#230231 - 02/03/11 06:27 PM unrar a rar file with a command
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
Hello,

I wanna ask if is there any command to unrar a .rar file

- Thanks!
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#230236 - 02/03/11 07:34 PM Re: unrar a rar file with a command [Re: westor]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3515
Loc: France
Code:
/run winrar.exe x inputpath\input.ext outputdir\
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#230238 - 02/03/11 07:39 PM Re: unrar a rar file with a command [Re: Wims]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
this will only work if the winrar.exe is installed, is there any other way to do it?
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#230245 - 02/03/11 08:28 PM Re: unrar a rar file with a command [Re: westor]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3515
Loc: France
Well, what others way are you thinking about ?
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#230246 - 02/03/11 08:35 PM Re: unrar a rar file with a command [Re: Wims]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
I think he wants some comprehensive zip support from within mIRC.

In that case, the answer is no.

Use an external program. A program like 7zip is free, and you can (probably, check the LICENSE) bundle it with your script (since it doesn't need to be "installed", just present).
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#230247 - 02/03/11 08:52 PM Re: unrar a rar file with a command [Re: Wims]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
Originally Posted By: Wims
Well, what others way are you thinking about ?


i am thinking about any dll that will make this, or any Windows command that will unrar a .rar file into a folder, or something like an .bat commands i have no idea about them and asking to take ideas. i have found this dll but it doesn't work on winrar archives 3.x as the readme.txt has reported.

dll: http://www.megaupload.com/?d=AX26AMXF
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#230248 - 02/03/11 09:08 PM Re: unrar a rar file with a command [Re: westor]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
i found this http://www.rarlab.com/rar/unrarw32.exe that help me, problem solved
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top