Can you zip a file from command prompt?

Posted by Aaron Bush on Super User See other posts from Super User or by Aaron Bush
Published on 2010-02-19T19:46:23Z Indexed on 2010/03/16 20:41 UTC
Read the original article Hit count: 346

Filed under:
|
|
|

I have a batch file that outputs a text file. I thought it would be nice if I could zip it up too.

This will be used in an uncontrolled environment so I can't make assumptions about the presence of 3rd party software products such as 7-Zip etc. This needs to use Window's now-built-in capability to zip files.

© Super User or respective owner

Related posts about batch

Related posts about zip