How to Zip a File Using Cmd Line?
I Want to Zip a Directory Using the Batch File Command (Windows Xp Batch File). for Example, If I Want to Unzip a File Means I Can Use the Jar -Xf File...
I want to zip a directory using the batch file command (Windows XP batch file).
For example, if I want to unzip a file means I can use the jar -xf file.zip(java) bat file command.
Like that I want a command line batch to zip a directory.
4 Answers
Must Read
If you are using Ubuntu Linux:
Install
zipsudo apt-get install zipZip your folder:
zip -r {filename.zip} {foldername}