Help on jZip


1. Using jZip to unzip files

Open a zip file using the Open Zip menu option.  The contents of the archive will be displayed on the screen.  If you wish to extract all the files in the archive then choose Extract All.  Otherwise select specific files by tapping on them and then choose Extract Selected.  When you have finished, choose Close.

By default, files are extracted to the directory c:\jZip\.  You can change this using the Preferences option.  Make sure you specify a valid directory which ends with a backslash character.


2. Using jZip to zip files

Go to the menu and select the New Zip option.  You will be asked to specify a name for the zip.  Now you can use the Add File, Add Directory and Delete Selected options to update your zip file.  Note: when using the Add Directory menu option, select a filename in the file selector dialog and all the files in the same directory will be added to the zip.


3 Using directories in your zip file

In the Preferences menu option, you will see a Extract To dialog.  The choices are the default directory (as shown in the next dialog) or the current directory (where the zip file resides).  Files that you extract are placed in these directories (or subdirectories thereof).

There is also a Directories dialog.  This option controls the way that directories are added to, or extracted from, a zip as follows:

(a) None.  No directories will be used.
(b) Absolute.  The full pathname will be included when adding files to the zip.  Similarly, the full pathname will be added to the default or current directory when extracting files.
(c) Relative. The files will be added with pathnames that take account of the relative location of the zip file.  The same applies to files that are extracted from the zip.


4. Example


  Zip file: c:\dir1\myzip.zip
  File to be added: c:\dir1\dir2\myfile


Option (a) will add the file myfile with no pathname.  
Option (b) will add the file as \dir1\dir2\myfile.  
Option (c) will add the file as \dir2\myfile, since it takes account of the zip file being in directory c:\dir1\.  A similar logic is applied when files are being extracted.


Note: jZip uses standard Java classes to create zip files.  Some older zip programs have difficulty reading these files.  If your PC zip program cannot read jZip's files, please consider upgrading to a later version.


Enjoy the program :-)

Malcolm Bryant
malcolm@freepoc.org
www.freepoc.org


