home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #1
/
Image.iso
/
cdd
/
winanw
/
supermkt
/
pkzip204.exe
/
HINTS.TXT
< prev
next >
Wrap
Text File
|
1993-02-01
|
14KB
|
322 lines
This file contains some answers to frequently asked questions about
PKZIP 2.0, and hints for most efficient use of the software.
Q: Is PKZIP and PKUNZIP completely compatible with older versions?
A: PKZIP and PKUNZIP are completely downwardly compatible, but not
upwardly. What does this mean? This means that if you compress
something with PKZIP 2.0, you will need PKUNZIP 2.0 or later to
extract it. However, PKUNZIP 2.0 will uncompress any .ZIP file
made by any version of PKZIP 2.0 or earlier. Therefore, If you
have the latest version of PKUNZIP, you need not worry about not
being able to decompress any .ZIP file.
Q: I get "Warning, I don't know how to handle" when trying to extract
files.
A: Most likely you are using PKUNZIP 1.1 or an earlier version to
attempt to extract a .ZIP file created by PKZIP 2.0 or later.
Make sure that you are using the latest version of PKUNZIP. Also
be sure you do not have multiple copies of pkunzip in different
areas on your machine. It may find and use an older version before
it finds the newer version.
Q: How do I make self-extracting files?
A: This is a two step process. First create a .ZIP file normally
with PKZIP, and then use ZIP2EXE to create a self extracting
.EXE file. For example, if you have a .ZIP file called STUFF.ZIP
and then entered:
zip2exe stuff
it would create STUFF.EXE which is a PKSFX self-extracting file.
Q: I get "Bad command or File name" when I type in PKZIP or PKUNZIP.
A: This is a DOS error message, and means that PKZIP/PKUNZIP is
not in the current directory, or locatable by the DOS PATH
variable. Consult your DOS manual for use of the PATH statement.
Q: I get "Error in zip, use pkzipfix", when attempting to compress
files.
A: This may be the result of an incorrect command line. The name of
the .ZIP file you are creating needs to be BEFORE the names of the
file you want to compress. For example, if you want to compress
FILE1 and FILE2 into STUFF.ZIP, use:
pkzip stuff file1 file2
and not:
pkzip file1 file2 stuff
Q: How can I use PKZIP to create full and incremental backups?
A: When creating a full backup with PKZIP, use the -a+ option.
This will turn off the file's archive bit after it is compressed.
For example:
C:\> pkzip a:fullback -&s -a+
will backup the entire C: drive to a multi-disk .ZIP file called
FULLBACK.ZIP on the A: drive.
Then, whenever a file is updated or created by DOS, it will turn
on the file's archive bit, indicating that the file has changed
since it was last backed up. You can create an incremental backup
set with PKZIP by using the -i switch to only compress files that
have their archive bit set, and turn off the archive bit after it
is compressed. For example:
C:\> pkzip a:incback1 -&s -i
will backup all the files on drive C: that are new or have been
modified since the last backup was performed.
Q: What is an AV?
A: The Authenticity Verification feature allows you to create .ZIP
files that PKUNZIP or PKSFX can test for authenticity while
extracting. This provides for detection of tampered, hacked, or
virus infected files.
Q: How do I use my AV? Where is my AV?
A: The first thing you need to do is fill out AUTHVERI.FRM included
in the PKZIP distribution package with the necessary information
and mail or FAX this to PKWARE. We will then process your
information and send you back the information needed to use with
the PUTAV to install your AV information. AV numbers are not the
same as your serial number on the diskette.
Q: I ran PUTAV.EXE on the new PKZIP but it did not work, Why?
A: First of all, you need to make sure that you are using the
PUTAV.EXE from the registered 2.0 version. You can not use
the PUTAV.EXE from 1.1, to try and install the AV numbers into
version 2.0 of PKZIP. The AV process has changed and you need to
use the PUTAV.EXE from version 2.0. Also, PUTAV.EXE will not work
with the shareware version of PKZIP.EXE, you need to have the
registered PKZIP.EXE file.
Q: I extracted a .ZIP file, but it didn't recreate the directory
structure stored in the .ZIP file.
A: First make sure the files were compressed using the -rp option
in PKZIP. Next, be sure you use the PKUNZIP option -d when
extracting files. The -d option tells PKUNZIP to re-create stored
directories on extraction.
Q: I lost the last diskette, or have errors on the last diskette
in my backup set; or lost or have problems with one or more other
diskettes in my backup set; or I hit Ctrl C and aborted PKZIP
while I was creating the backup set. How can I recover the files
that are still intact in the backup set?
A: PKZIPFIX can be used to restore the .ZIP file index after
the .ZIP files on each diskette have been concatenated into one
.ZIP file. Starting with the lowest number backup diskette
(normally disk #001, PKZIP places the volume label PKBACK# nnn
onto each disk, where nnn is the disk number), copy this file
to your hard disk (or network disk). For example, say the .ZIP
filename for the backup set is BACK1.ZIP, on drive B:. Enter:
copy b:back1.zip
Then, insert each diskette in ascending numerical order and enter:
copy/b back1.zip+b:back1.zip
After you have gone through the all the disks in the backup set,
then use PKZIPFIX on this file by entering:
pkzipfix back1
This will create the file PKFIXED.ZIP which can then be extracted
by PKUNZIP. Any files that were on missing or damaged diskettes
will most likely have errors, but any files that were wholly
contained on intact diskettes should be extractable. This
procedure will also work on a subset of the backup set, if for
example, you only wanted to recover the files on disks 10 through 15.
Q: When is it valid to use a '-' or '+' switch at the end of a option?
A: With PKZIP and PKUNZIP certain options may be followed by a
trailing - or + to modify the original option. The basic rule to
follow in knowing whether a - or + will effect the original option
is, if the option can be modified in the PKZIP.CFG file, then
a - or + will effect it.
Below is a list of options that can be affected by a trailing '-'
symbol. As always consult your manual for more information about
individual switches.
OPTION MEANING
------ -------
-i- Do not clear the archive attribute
-k- Override ZIPDATE=KEEP in pkzip.cfg
-m- Do not remove directories after compression
-o- Override ZIPDATE=LATEST in pkzip.cfg
-p- Override PATHS=ALL or PATHS=RECURSE
-q- Override ANSI=ENABLED
-r- Override RECURSE=ON
-(- Override SLOWMEMCPY=ON
-&f- Override FORMAT=ON
-&l- Override BACKUP=LOW
-&s- Override BACKUP=FULL
-&u- Override BACKUP=UNCONDITIONAL
-&v- Override BACKUP=VERIFY
-&w- Override BACKUP=WIPE
-&- Turns off all BACKUP= options
Here is a list of the options that can be modified by a trailing
'+' symbol.
OPTION MEANING
------ -------
-a+ Clear archive attributes for files archived
-3+ Override 386=DISABLE
-++ Override EMS=DISABLE
--+ Override XMS=DISABLE
-~+ Override NETWORK=DISABLE
-)+ Override DPMI=DISABLE (also in PKUNZIP)
Q: What is the difference between the PKZIP option -b and
the PKTMP= environment variable?
A: PKZIP creates two different types of temporary files, and allows
you to speci