Categories: Files

Winzip Command Line

Winzip is a freeware tool for zipping files.  Default Winzip installation has GUI for creating zip files, for extracting files from zipped files etc. It does not have command line interface.  But we can add command line interface to the winzip utility by installing the add-on available here. http://www.winzip.com/prodpagecl.htm You need to have Winzip version 12.0 or higher for installing the add-on.

Install the above add-on. Prerequisite for installing this is winzip  and it should already be installed on the system. Once the CLI addon is installed, you can use the commands as shown below. These CLI commands can be found either  in C:\Program Files\WinZip\‘  or  in ‘C:\Program Files(x86)\WinZip\ 

Create a zip file:

You can use wzzip.exe utility for this.

The command is:

C:\Program Files\WinZip\wzzip  filename.zip  <list of files>

For example, to zip the files(file1.pdf,  file2.pdf,  file3.pdf) into docs.zip, the command we should run is

C:\Program Files\WinZip\wzzip docs.zip  file1.pdf file2.pdf file3.pdf

In the above example, we have used 3 files, but you can specify as many files as you want.

Unzip files

The command for  unzipping files is:

C:\Program Files\WinZip\wzunzip   zipfilename   destination_folder

destination_folder is the directory where you want to keep the unzipped files.

Example:
We can unzip the file docs.zip to the directory E:\Documents as follows

C:\Program Files\WinZip\wzunzip docs.zip E:\Documents
Srini

View Comments

  • For about a month, I've been receiving a pesky "pop-up" window from you that encourages me to upgrade my currently registered version of WINZIP. Today, I took that step. However, I entire lost my ability to call wzzip.exe and wzunzip.exe. I rarely (if ever) use WINZIP; instead I call wzzip (or wzunzip) from thousands of batch files, FORTRAN programs (that I have written) or just manually out of a DOS window. Please help me to resolve this unacceptable situation

Share
Published by
Srini

Recent Posts

Add new user account from command line (CMD)

Adding users from command line is much easier than going through the UI. It saves…

4 years ago

Delete directory from command line [Rmdir]

Do you want to delete a directory from Windows command prompt(CMD)? This post explains how…

4 years ago

TaskKill: Kill process from command line (CMD)

We can kill a process from GUI using Task manager. If you want to do…

4 years ago

Kill Chrome from command line

Chrome is definitely the stable browser compared to other ones and it has been my…

4 years ago

Find windows OS version from command line

Windows has multiple command line utilities that can help find the version of the Windows…

4 years ago

How to check if Windows 32 or 64 bit?

There are multiple ways to check whether a Windows computer is running 32-bit OS or…

7 years ago