ZIP from Command Line


This is not a very important post, it's just a reminder for everytime I need to create a ZIP from a batch or froma a DOS Command Prompt.

Using PKZIP
pkzip25.exe -add zipped.zip sourcefile.ext

Using WINZIP
wzzip zipped.zip sourcefile.ext

Using 7Zip
7z.exe a -tzip zipped.zip sourcefile.ext
Tags:

About author

Vittorio Pavesi