Creating a Batch file to zip a file

By sebm ·
I'm after getting batch file that would zipped a file up. does anyone know a batch that would do this?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by SAJChurchey In reply to Creating a Batch file to ...

My WinXP installation has a zip command that you could fool around with to create your batch file. I don't know EXACTLY what you want to do so you may need to add other logic to your batch file. I'm not sure if this command is included in other versions of Windows, but I imagine so.

If the command is not available, you can download a version of zip.exe from:

Collapse -

Download and install 7zip

by Dumphrey In reply to Creating a Batch file to ...

its freeware. Open the 7zip folder in program files, and copy 7z.exe to c:\windows\system32 (or modify default path to use this folder).

basic format is 7z a folderNameOrFileToZip

Related Discussions

Related Forums