mIRC Home    About    Download    Register    News    Help

Print Thread
unrar a rar file with a command #230231 02/03/11 06:27 PM
Joined: Dec 2008
Posts: 1,513
westor Online OP
Hoopy frood
OP Online
Hoopy frood
Joined: Dec 2008
Posts: 1,513
Hello,

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

- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Re: unrar a rar file with a command [Re: westor] #230236 02/03/11 07:34 PM
Joined: Jul 2006
Posts: 3,889
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,889
Code:
/run winrar.exe x inputpath\input.ext outputdir\


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: unrar a rar file with a command [Re: Wims] #230238 02/03/11 07:39 PM
Joined: Dec 2008
Posts: 1,513
westor Online OP
Hoopy frood
OP Online
Hoopy frood
Joined: Dec 2008
Posts: 1,513
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? -> https://irc.chathub.org <-
Re: unrar a rar file with a command [Re: westor] #230245 02/03/11 08:28 PM
Joined: Jul 2006
Posts: 3,889
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,889
Well, what others way are you thinking about ?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: unrar a rar file with a command [Re: Wims] #230246 02/03/11 08:35 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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"
Re: unrar a rar file with a command [Re: Wims] #230247 02/03/11 08:52 PM
Joined: Dec 2008
Posts: 1,513
westor Online OP
Hoopy frood
OP Online
Hoopy frood
Joined: Dec 2008
Posts: 1,513
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? -> https://irc.chathub.org <-
Re: unrar a rar file with a command [Re: westor] #230248 02/03/11 09:08 PM
Joined: Dec 2008
Posts: 1,513
westor Online OP
Hoopy frood
OP Online
Hoopy frood
Joined: Dec 2008
Posts: 1,513
i found this http://www.rarlab.com/rar/unrarw32.exe that help me, problem solved


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-