WinZip : Java Glossary

go to home page W words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish 2009-05-14 by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
The CurrCon Java Applet displays prices on this web page converted with today’s exchange rates into your local international currency, e.g. Euros, US dollars, Canadian dollars, British Pounds, Indian Rupees… CurrCon requires Java 1.1 or later, preferably 1.6.0_14. If you can’t see the prices, or if you just want to learn more about CurrCon, click here for help.
WinZip logo WinZip
A program for compressing/decompressing data and storing it in a *.zip file. It will also work on jar and war files, though the WinZip people don’t officially support them. WinZip can decompress zip, jar, tar, gz, and tar.gz files.

WinZip used to always have free upgrades. Now they sell upgrade assurance when you purchase your copy. To get an upgrade you must apply giving details of your original purchase.

WinZip is now at version 12.1 Last revised/verified: 2009-05-13 Now the command line tool comes with the standard version, must users will find WinZip standard adequate at $30.00 USD If you create zips, you will want the command line WZZIP add-on for the standard or pro package. The pro package is $60.00 USD . This Feature Matrix will help you decide which version best suits your needs. Oddly though the command line features are bundled as part of the WinZip package\, you must download and install them separately. I gather the authors are still thinking in terms of saving every last byte transferred over dial-up access. You can try both before you buy. There is also a peculiar offer to give you WinZip free if you buy something unrelated to WinZip from one of their partners.

WinZip cannot compress with mp3 files, it just packs them as-is in the archive. It is not able to compress png files. It does almost no compression on Java-created zip files. It is very good at compressing html, about 90%, even when the HTML has been precompressed to remove excess white space. Icon files compress an astounding 98%. It can compress jpgs about 25%.

The main new feauture of WinZip 11.2 is Unicode filenames. Unfortunately, this is not part of the PKZip format, but a proprietary WinZip extension. Normally WinZip just stores in the local 8-bit code page encoding.

The main new feature in WinZip 12.0 is JPG compression. This is a proprietary WinZip extension. By default, WinZip uses a proprietary compression algorithm best for each extension type. Unfortunately, this means others without Winzip can’t unpack your zip files. It can’t handle all JPG files. I normalise ones it can’t compress by using Paint Shop Pro to load the file and do a save as.

The main new feature of 12.1 is that files with proprietary WinZip compression algorithms are given the *.zipx extension to help you avoid sending them to people who do not have WinZip. It also handles files larger than 2 Gig.

Other than stronger compression the advantage of WinZip over Java is the proprietry AES encryption. Pretty well only the government should be able to crack it.

Unzipping Excluding
Zipping Tips
Command Line WinZip Courier
Including Links

Using WinZip GUI to Unzip a *.zip

Here is how to unzip/unpack/decompress/fluff a *.zip file.

  1. Click “File”.
  2. Click “Open Achive”.
  3. Select the zip file you want to unpack.
  4. Click “Open” .
  5. You will now be able to see the files inside the zip and their directory names on the far right. Let’s assume you want to unpack them all into a directory tree.
  6. Click “Extract”.
  7. Select the directory where you want the tree of unpacked files to grow off of.
  8. Select “All files/folders” in archive.
  9. Uncheck “Open Explorer Window.
  10. Check/uncheck “Overwrite existing files”. If in doubt, check yes.
  11. Uncheck “Skip older files”.
  12. Check “Use folder names”.
  13. Click “Extract”.
  14. Click “File”.
  15. Click “Exit”.

Using WinZip GUI to Zip a directory tree

Here is how to zip/pack/compress/squeeze/archive your files to create a *.zip file.

  1. Click “File”.
  2. click “New Achive”.
  3. Select the name of the zip file you want create and the directory where you want to create it.
  4. Check “Add Dialog”.
  5. Click “OK”.
  6. Check “Include subfolders”.
  7. Check/uncheck “Include full path info”. If in doubt, check yes.
  8. Select “Action : add (and replace) files”.
  9. Select “Compression : normal”.
  10. Uncheck “Encrypt Added Files”.
  11. Uncheck “Store files in 8.3 format”.
  12. Uncheck “Include only if attribute bit is set”.
  13. Uncheck “Reset archive attribute”.
  14. Check “Include System and hidden files”.
  15. Click “Add with wildcards”.
  16. Examine the files to make sure you got the ones you wanted and they have the correct directory names.
  17. Click “File”.
  18. Click “Exit”.

Command Line Use

You can run WinZip from the command line as well with WZZIP.exe and WZUNZIP.exe using the optional command line download.

The switches are similar to PKZIP. The trickiest one is -P which includes more qualification of names inside the zip file. It includes the directory levels mentioned on the command line. If you use fully qualified names on the command line, you will get fully qualified names inside the zip. In contrast -p gives less qualification. It excludes the directory levels mentioned on the command line. Do a little experiment and try both and difference will become clear.

Starting with version 10.0 the command line utilities are an extra cost option. You need the professional edition.

Include Lists

If your command line gets too long, you can put the files and directories to include in an overflow forzip.list file. It might look like this:
rem Here is a generic way to use WinZip, with auxiliary include list file.
rem -P will but all directory names mentioned in the list file in the zip,
rem but not the higher order stuff. Every directory and wildcard must
rem be explicitly mentioned in the list file.
rem -u means update.

WZZIP -Pu - E:\mindprod\zips\cmp1.zip \somedir @C:\env\forzip.list
You invoke them with an @forzip.list in addition to any other filenames or directories on the WZZIP command line. Unfortunately, there is no way to use something like a /S option inside you include file include all subdirectories. You have to use -r on the command line to apply to everything.

Exclude Lists

You can similarly create exclude lists of files. You invoke them with -x@C:\env\exclude.list on the WZZIP command line. Don’t forget the @. Your exclude lists can include * and ? wildcards. Wildcards are applied recursively to all subdirectories; non-wildcards are not; they need folder names.
rem Here is a generic way to use WinZip, with exclude and include list files.
rem -P will but all directory names mentioned in the list file in the zip,
rem but not the higher order stuff. Every directory and wildcard must
rem be explicitly mentioned in the list file.
rem -u means update.

WZZIP -Pu -x@C:\env\exclude.list E:\mindprod\zips\cmp1.zip @C:\env\cmp1.list

Tips

YouSendIt logo WinZip Courier

Aka yousendit.com. There can be problems trying to send large files by Email. They are slow because they are ASCII-armoured to 7-bit printable making them much fatter. Some email providers limit the size of attachments. Some spam or security software blocks large attachments. To solve this you need your own website you can upload to with FTP and let others download from using their browser with HTTP. If you don’t have your own website, what can you do? You can use WinZip Courier. It uses the WinZip site as an intermediary. It costs $5.00 USD a month so send files up to 2 gigabytes each. You can send files up to 100 MB free. You and the recipient each use WinZip’s web-based software to manage the delivery and pickup via the WinZip site. The other advantage is tracking. You can tell if the recipient has picked up the attachment. One other advantage is the recipient does not have to pick up the attachement if he does not want it. So it is much more polite to send a large attachment to someone this way.

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.58]
You are visitor number 31,350.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/winzip.html J:\mindprod\jgloss\winzip.html