cancel
Showing results for 
Search instead for 
Did you mean: 

writing a batch file

Protocol
Occasional Contributor

writing a batch file

I want to write a batch file to first zip the folder and then to copy the zip file to another location/computer using the xcopy command . Can someone please help
2 REPLIES
Jorge Pinto Leite
Respected Contributor

Re: writing a batch file

You need WinZip Command Line to do that. That will allow you to create a file that will contain the arguments to the files and/or folders to be zipped.

Without this option, it will not be possible for you to do that.

Good luck

PS: WinZip Command Line only works with WinZip Pro
Sheldon Smith
Honored Contributor

Re: writing a batch file

Get the Info-Zip "zip" and "unzip" freeware utilites from http://www.info-zip.org/

"Info-ZIP's purpose is to provide free, portable, high-quality versions of the 'Zip' and 'UnZip' compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc."

Note: While I work for Hewlett Packard Enterprise, all of my comments (whether noted or not), are my own and are not any official representation of the company.
----------
If my post was useful, click on my KUDOS! thumb below!