Question

Locked

Creating a Batch file to zip a file

By sebm ·
Hi
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.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

ZIP

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:

http://www.info-zip.org/Zip.html

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 archivename.zip folderNameOrFileToZip

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums