Java Glossary : Winzip

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 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

You are here : home : Java Glossary : W words : Winzip.

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

You can run it 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 folder information for any subfolders of the directory added, and -P which also adds any higher level folder names mentioned on the command line. Try both and will become clear the difference.

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:
; files to zip wildcards ok, so are relative and absolute a directory names, and semicolon comments
*.jar
*.java
*.jnlp
*.pps
*.doc
amanuenses.html
AmericanTax.html
replicator\*.ser
You invoke them with an @forjar.list in addition to any other filenames or directories on the WZZIP command line.

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.

The Winzip people are unusual. They have been giving free upgrades since day 1, so there is no reason not to keep up with the latest, now version 9.0.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1011.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/winzip.html J:\mindprod\jgloss\winzip.html