home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1995 April / pslmonthlyvol3-4utilitiesapril1995.iso / pkzip204.exe / HINTS.TXT < prev    next >
Text File  |  1993-02-01  |  14KB  |  322 lines

  1.  
  2. This file contains some answers to frequently asked questions about
  3. PKZIP 2.0, and hints for most efficient use of the software.
  4.  
  5.  
  6. Q:  Is PKZIP and PKUNZIP completely compatible with older versions?
  7.  
  8. A:  PKZIP and PKUNZIP are completely downwardly compatible, but not
  9.     upwardly.  What does this mean?  This means that if you compress
  10.     something with PKZIP 2.0, you will need PKUNZIP 2.0 or later to
  11.     extract it.  However, PKUNZIP 2.0 will uncompress any .ZIP file
  12.     made by any version of PKZIP 2.0 or earlier.  Therefore, If you
  13.     have the latest version of PKUNZIP, you need not worry about not
  14.     being able to decompress any .ZIP file.
  15.  
  16.  
  17. Q:  I get "Warning, I don't know how to handle" when trying to extract
  18.     files.
  19.  
  20. A:  Most likely you are using PKUNZIP 1.1 or an earlier version to
  21.     attempt to extract a .ZIP file created by PKZIP 2.0 or later.
  22.     Make sure that you are using the latest version of PKUNZIP. Also
  23.     be sure you do not have multiple copies of pkunzip in different
  24.     areas on your machine. It may find and use an older version before 
  25.     it finds the newer version.
  26.  
  27.  
  28. Q:  How do I make self-extracting files?
  29.  
  30. A:  This is a two step process.  First create a .ZIP file normally
  31.     with PKZIP, and then use ZIP2EXE to create a self extracting
  32.     .EXE file.  For example, if you have a .ZIP file called STUFF.ZIP
  33.     and then entered:
  34.     
  35.       zip2exe stuff
  36.       
  37.     it would create STUFF.EXE which is a PKSFX self-extracting file.
  38.  
  39.  
  40. Q:  I get "Bad command or File name" when I type in PKZIP or PKUNZIP.
  41.  
  42. A:  This is a DOS error message, and means that PKZIP/PKUNZIP is
  43.     not in the current directory, or locatable by the DOS PATH
  44.     variable.  Consult your DOS manual for use of the PATH statement.
  45.  
  46.  
  47. Q:  I get "Error in zip, use pkzipfix", when attempting to compress
  48.     files.
  49.  
  50. A:  This may be the result of an incorrect command line.  The name of
  51.     the .ZIP file you are creating needs to be BEFORE the names of the
  52.     file you want to compress.  For example, if you want to compress
  53.     FILE1 and FILE2 into STUFF.ZIP, use:
  54.     
  55.       pkzip stuff file1 file2
  56.     
  57.     and not:
  58.     
  59.       pkzip file1 file2 stuff
  60.    
  61.  
  62.  
  63. Q:  How can I use PKZIP to create full and incremental backups?
  64.  
  65. A:  When creating a full backup with PKZIP, use the -a+ option.
  66.     This will turn off the file's archive bit after it is compressed.
  67.     For example:
  68.  
  69.       C:\> pkzip a:fullback -&s -a+
  70.  
  71.     will backup the entire C: drive to a multi-disk .ZIP file called 
  72.     FULLBACK.ZIP on the A: drive.
  73.  
  74.     Then, whenever a file is updated or created by DOS, it will turn
  75.     on the file's archive bit, indicating that the file has changed
  76.     since it was last backed up.  You can create an incremental backup
  77.     set with PKZIP by using the -i switch to only compress files that
  78.     have their archive bit set, and turn off the archive bit after it
  79.     is compressed.  For example:
  80.  
  81.       C:\> pkzip a:incback1 -&s -i
  82.  
  83.     will backup all the files on drive C: that are new or have been
  84.     modified since the last backup was performed.
  85.  
  86.  
  87. Q:  What is an AV?
  88.  
  89. A:  The Authenticity Verification feature allows you to create .ZIP
  90.     files that PKUNZIP or PKSFX can test for authenticity while
  91.     extracting.  This provides for detection of tampered, hacked, or
  92.     virus infected files.
  93.  
  94.  
  95. Q:  How do I use my AV?  Where is my AV?
  96.  
  97. A:  The first thing you need to do is fill out AUTHVERI.FRM included
  98.     in the PKZIP distribution package with the necessary information
  99.     and mail or FAX this to PKWARE.  We will then process your
  100.     information and send you back the information needed to use with
  101.     the PUTAV to install your AV information.  AV numbers are not the
  102.     same as your serial number on the diskette.
  103.  
  104.  
  105. Q:  I ran PUTAV.EXE on the new PKZIP but it did not work, Why?
  106.  
  107. A:  First of all, you need to make sure that you are using the
  108.     PUTAV.EXE from the registered 2.0 version.  You can not use
  109.     the PUTAV.EXE from 1.1, to try and install the AV numbers into
  110.     version 2.0 of PKZIP.  The AV process has changed and you need to
  111.     use the PUTAV.EXE from version 2.0.  Also, PUTAV.EXE will not work
  112.     with the shareware version of PKZIP.EXE, you need to have the
  113.     registered PKZIP.EXE file.
  114.  
  115.  
  116. Q:  I extracted a .ZIP file, but it didn't recreate the directory
  117.     structure stored in the .ZIP file.
  118.  
  119. A:  First make sure the files were compressed using the -rp option
  120.     in PKZIP.  Next, be sure you use the PKUNZIP option -d when 
  121.     extracting files.  The -d option tells PKUNZIP to re-create stored
  122.     directories on extraction.
  123.  
  124.  
  125. Q:  I lost the last diskette, or have errors on the last diskette
  126.     in my backup set; or lost or have problems with one or more other
  127.     diskettes in my backup set; or I hit Ctrl C and aborted PKZIP
  128.     while I was creating the backup set.  How can I recover the files
  129.     that are still intact in the backup set?
  130.  
  131. A:  PKZIPFIX can be used to restore the .ZIP file index after
  132.     the .ZIP files on each diskette have been concatenated into one
  133.     .ZIP file.  Starting with the lowest number backup diskette
  134.     (normally disk #001, PKZIP places the volume label PKBACK# nnn
  135.     onto each disk, where nnn is the disk number), copy this file
  136.     to your hard disk (or network disk).  For example, say the .ZIP
  137.     filename for the backup set is BACK1.ZIP, on drive B:.  Enter:
  138.  
  139.       copy b:back1.zip
  140.  
  141.     Then, insert each diskette in ascending numerical order and enter:
  142.  
  143.       copy/b back1.zip+b:back1.zip
  144.  
  145.     After you have gone through the all the disks in the backup set,
  146.     then use PKZIPFIX on this file by entering:
  147.  
  148.       pkzipfix back1
  149.  
  150.     This will create the file PKFIXED.ZIP which can then be extracted 
  151.     by PKUNZIP.  Any files that were on missing or damaged diskettes 
  152.     will most likely have errors, but any files that were wholly 
  153.     contained on intact diskettes should be extractable.  This 
  154.     procedure will also work on a subset of the backup set, if for 
  155.     example, you only wanted to recover the files on disks 10 through 15.
  156.  
  157.  
  158. Q:  When is it valid to use a '-' or '+' switch at the end of a option?
  159.  
  160. A:  With PKZIP and PKUNZIP certain options may be followed by a
  161.     trailing - or + to modify the original option.  The basic rule to
  162.     follow in knowing whether a - or + will effect the original option
  163.     is, if the option can be modified in the PKZIP.CFG file, then
  164.     a - or + will effect it.
  165.  
  166.     Below is a list of options that can be affected by a trailing '-'
  167.     symbol.  As always consult your manual for more information about
  168.     individual switches.
  169.  
  170.  
  171.            OPTION           MEANING
  172.            ------           -------
  173.         -i-             Do not clear the archive attribute
  174.         -k-             Override ZIPDATE=KEEP in pkzip.cfg
  175.         -m-             Do not remove directories after compression
  176.         -o-             Override ZIPDATE=LATEST in pkzip.cfg
  177.         -p-             Override PATHS=ALL or PATHS=RECURSE
  178.         -q-             Override ANSI=ENABLED
  179.         -r-             Override RECURSE=ON
  180.         -(-             Override SLOWMEMCPY=ON
  181.         -&f-            Override FORMAT=ON
  182.         -&l-            Override BACKUP=LOW
  183.         -&s-            Override BACKUP=FULL
  184.         -&u-            Override BACKUP=UNCONDITIONAL
  185.         -&v-            Override BACKUP=VERIFY
  186.         -&w-            Override BACKUP=WIPE
  187.         -&-             Turns off all BACKUP= options
  188.  
  189.  
  190.     Here is a list of the options that can be modified by a trailing
  191.     '+' symbol.
  192.  
  193.  
  194.            OPTION           MEANING
  195.            ------           -------
  196.         -a+             Clear archive attributes for files archived
  197.         -3+             Override 386=DISABLE
  198.         -++             Override EMS=DISABLE
  199.         --+             Override XMS=DISABLE
  200.         -~+             Override NETWORK=DISABLE
  201.         -)+             Override DPMI=DISABLE (also in PKUNZIP)
  202.  
  203.  
  204. Q:  What is the difference between the PKZIP option -b and 
  205.     the PKTMP= environment variable?
  206.  
  207. A:  PKZIP creates two different types of temporary files, and allows
  208.     you to speci