i am writing a batch file that compresses everything in a folder.
example directory structure is..
i will be running the batch file from c:\temp
i want it to compress all the contents of the c:\temp\oldfiles folder, but not that folder itself
the batch follows..
7z.exe a -t7z -mx=9 archive.7z oldfiles\* -r
the batch file wont always be run from c:\temp, but will always be run with the oldfiles directory in the same directory as the batch file.
along with this is there a way to delete the files as they are being added to the archive?
ps. Igor, awsome program, thank you
7z.exe a -t7z -mx=9 ..\archive.7z *
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.