7zip is a file compression utility.
Like Winzip and Winzip Command line put together, oh, and it is FREE!
Download from here : http://www.7-zip.org/
I used the following command in a batch file to zip up an entire folder.
"C:\Program Files (x86)\7zip\7za.exe" a -r e:\sqlbackup\ssrs\ssrsarchive.7z e:\sqlbackup\ssrs\*.* -x!ssrsarchive.7z
the 'a' parameter at the start is tells it to add files.
the '-x' at the end tells it what to exclude (in this case the archive itself!)
No comments:
Post a Comment