Operating System - Microsoft
1752569 Members
5438 Online
108788 Solutions
New Discussion юеВ

Re: 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 2
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
HPE Pro

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 am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo