mIRC Home    About    Download    Register    News    Help

Print Thread
#118198 23/04/05 03:23 AM
Joined: Mar 2004
Posts: 108
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Mar 2004
Posts: 108
Ok. I know how to open things like notepad VIA /run notepad.exe file.blah. Does anyone know how if possible to run winrar and have it zip a file. I want to zip a folder so a few gamebots can communicate and back up data.. It would ba a lot easier if I could just zip folders and dcc them every so often ;] Any help.. I'll love ya forever.. thx.. smile


sometimes these are as bad as quit messages :tongue:
Joined: Sep 2004
Posts: 40
U
Ameglian cow
Offline
Ameglian cow
U
Joined: Sep 2004
Posts: 40
Try this dll, http://mircscripts.org/download.php?id=2220
you can unzip and zip files with it smile

us3rX

Edit: dont know if it works with winrar...

Last edited by us3rX; 23/04/05 04:08 AM.
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
you do know theres a dos application for (un)zipping files?

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You can but it has little to do with mirc. You need to read in winrar's help file about the various command-line switches it supports. The only advice I can give you mirc-wise is to do it like this in mirc:
/run "c:\program files\winrar\winrar.exe" <switches here>
ie enclose the path in quotes, if it contains spaces, and have the switches outside the quotes.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Mar 2004
Posts: 108
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Mar 2004
Posts: 108
Thanks all.. gives me some direction. smile I'll post what I come up with in case others have some use for doing this in the future..

Wow. It was a lot easier than I thought:

/run winrar.exe am -o+ ARCHIVEname folder1\*.txt folder2\*.txt

many options.. but that does my needs.. thx again

Last edited by xxxYODAxxx; 23/04/05 05:28 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yeah, it is very easy to do. I use that to backup our trivia scores and send them to the other ops to make sure we don't lose them if something happens on my end. smile


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard