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

U
us3rX
us3rX
U
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.
D
DaveC
DaveC
D
you do know theres a dos application for (un)zipping files?

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
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.

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,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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


Link Copied to Clipboard