Zip folder using WinZip through control-M

All questions about Control-M jobs definitions
Post Reply
User avatar
jsp563
Nouveau
Nouveau
Posts: 11
Joined: 19 Aug 2011 12:00

Zip folder using WinZip through control-M

Post by jsp563 » 07 Sep 2011 7:36

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.

User avatar
jsp563
Nouveau
Nouveau
Posts: 11
Joined: 19 Aug 2011 12:00

Post by jsp563 » 07 Sep 2011 9:26

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".

User avatar
yllanos
Nouveau
Nouveau
Posts: 4
Joined: 30 Jul 2012 12:00

GNU zip

Post by yllanos » 30 Jul 2012 6:34

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

User avatar
Allison
Nouveau
Nouveau
Posts: 14
Joined: 22 Sep 2012 12:00

Post by Allison » 27 Sep 2012 2:13

Hii yllanos..i agree with you..thanks for this posting...

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 26 Oct 2012 6:16

You can also use the 7zip.exe utility, is free and works well in batch.
http://www.7-zip.org/

Post Reply