Msdos Compression like PKZip?

Soldato
Joined
18 Oct 2002
Posts
5,832
Location
Liverpool :-)
I'm looking for a free msdos zip program (ideally) that will allow me to run it in a batch file and supports passwords and long filenames in the zip file.

I've got an old copy of pkzip at the moment, it works but it wont support long filenames.

Anyone got any ideas?
 
That does seem to be working well now, i'm using the command:

7za a -pPassword -tzip e:\test1\test.zip e:\test2\*.*

But i've only just noticed that it seems to be amending files to the zip files, ie the test2 (not real name by the way) has new backups in there everyday and instead of overwriting the existing zip file with just that days backups it's including them and the zip file is getting bigger by the day.

I've had a look through the manual and i can't seem to see any switches for this task
 
do you want it dated each day, so you have a daily backup zip file?, i can tell you how to do this?

set CURRDATE=%DATE:/=-%
7za a -pPassword -tzip "e:\test1\%CURRDATE% test.zip" e:\test2\*.*

--------------


if you want a fresh zip each day, and don't want to keep the older ones, just add a ..

del /Q e:\test1\test.zip

add that before the line where you create a new one
 
Last edited:
Thanks bledd, i've just worked that out now. I'll delete the existing zip files before they start again :) I'm just not awake yet lol
 
i'd consider using the 7zip format and mx=9, super compression :D

7z can be opened by 7zip, Winrar and most others
 
Back
Top Bottom