Page 1 of 1

Zip folder using WinZip through control-M

Posted: 07 Sep 2011 7:36
by jsp563
Is it possible to run WinZip installed on server/machine and zip the folders. I have Winzip installed on c:\ drive of File Server. Can I create a control-m job to zip folders located on E:\ABC folder either using commandline in control-m or create a batch job that can use the WinZip utility installed on server and zip the folder.

Posted: 07 Sep 2011 9:26
by jsp563
I was able to make it work. Just in case anyone is intrested I used

"C:\Program Files\WinZip\WINZIP32.EXE" -a -r "E:\ziptest.zip" "E:\test"

Also need to make sure C:\Program Files\WinZip is part of Path under "My Computer->Properties->Advanced->Environment Variable->Path".

GNU zip

Posted: 30 Jul 2012 6:34
by yllanos
You can also install GNU Utilities for windows and then send commands. Jobs could be defined as commands and then compress what you need.

We have this working on production

Posted: 27 Sep 2012 2:13
by Allison
Hii yllanos..i agree with you..thanks for this posting...

Posted: 26 Oct 2012 6:16
by mauriziog
You can also use the 7zip.exe utility, is free and works well in batch.
http://www.7-zip.org/