home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
archiver
/
pkpres32.zip
/
PKPRESS.DOC
< prev
next >
Wrap
Text File
|
1993-11-11
|
11KB
|
279 lines
Pkpress 3.2, Copyright 1993 by Maritime Computer and Michael W. Graham
Introduction:
Pkpress is a command line utility that will increase your hard drive
space. You tell Pkpress which directories to process, and it will
find all zip files, recompress them (if necessary) with PKZIP's
maximal compression. It will also process the comment (if any)
on the zip file. The recompression to maximal can save MEGABYTES of
HD space if you have a lot of zip files. It can also be run as an
event, upload processor, or from a batch file.
This program will work equally well with PKZIP 1.1 or 2.04g. However,
if you are using version 2.04g, you will have the added benefit of
converting any 1.1 files to 2.04, which will SAVE even more DISK SPACE.
Quick Setup :
Guess what? Absolutely NOTHING has to be in your path! Just make sure
that PKPRESS and it's associated configuration file are in the same
directory. Please erase ALL older versions of Pkpress on your system!
I. Put PKPRESS.EXE and PKPRESS.CNF in the same directory.
II. Edit the Config file (PKPRESS.CNF) for your specifications.
Each Line must contain [THIS|THAT|<somethingelse>]
^----^----OR ^--Brackets
mean replace
with info
1: [0|<registration code>]
2: [ALL|NOTMAX]
3: [YES|NO]
4: [NONE|DEFAULT|<location & name of comment file>]
5: [REPLACE|APPEND|SAVE|STRIP]
6: [<location & name of pkzip>]
7: [<location & name of pkunzip>]
8: [YES|NO]
9: [YES|NO]
Here is the meaning of each line in the config file:
1: Registration code - if unregistered, leave as 0
2: You can either process ALL files or only files that
do not already have maximum compression. (You may
want to do ALL files in order to process the
comments, etc.) Otherwise, it is much faster to
skip files that already have max compression.
Line 2 is either ALL or NOTMAX.
3: If you use a 3rd party memory manager (like QEMM),
put YES, if not put NO.
*4: Comment File: Put the drive:\path\name of a comment
file you would like to add. This file is any text
file that you would like to appear as a comment.
If you use your own comment file, put it like so:
C:\TEMP\MYCMT.TXT (or any path\file you like).
Alternatively, you can use the DEFAULT comment file,
or choose NONE.
(Unregistered version must be set to DEFAULT)
*5: Comment Mode: Do you want to REPLACE the existing
comment with a new one, APPEND the new one to the
end of the existing one, SAVE the existing comment
unchanged, or STRIP all comments from the zip file.
(Unregistered version must be set to APPEND)
6: Drive:\Path\Name Location of PKZIP
(Ex: E:\ZIP\PKZIP.EXE)
7: Drive:\Path\Name Location of PKUNZIP
8: Do you want to record a Logfile (YES or NO)
The logfile will be created as a text file in the
directory that pkpress.exe is located as LOGFILE.TXT
*9: If the zip file has a FILE_ID.DIZ description file,
do you want to insert that description into the
comment? (YES or NO)
(Unregistered version must be set to NO)
* - can only alter with registered version
Please see the sample PKPRESS.CNF file to see how it looks.
III. Now you are ready to process (for one directory)
1. Switch to the directory that pkpress is in.
2. Type PKPRESS and the drive & directory you wish to
process.
---------------------------------------------------------------
To process all zip files in C:\TEMP, type:
pkpress c:\temp
---------------------------------------------------------------
IV. If you would like to process multiple directories:
edit the file named DIRECT.LST
the first line will be the drive you wish to process:
C:
the remaining lines are any directories you want processed:
\TEMP
\TEMP\TEST
\ZIPS
\OLDZIPS
\DOS\ARCS\OLD
\KEEP
You may put as many directories as you like in this file,
one on each line, and preceded by a "\" (without quotes)
This file DIRECT.LST must be in the same directory
as PKPRESS.EXE and PKPRESS.CNF.
----------------------------------------------------------------
Now, to process all zip files in the directories
in the Direct.Lst file, type:
pkpress direct.lst
-------------------------------------------------------------
Please see the sample DIRECT.LST file.
Some Recommendations:
Test Pkpress on a sample directory before processing
a full directory to ensure system compatibility.
Use common sense when setting comment processing features
in the config file (just to save time):
For example:
If STRIPping comments, use comment file type NONE
If SAVEing comments, use comment file type NONE
If comment file type is NONE, don't set the mode
to APPEND, just use SAVE.
If comment file type is NONE, don't set the mode
to REPLACE, just put STRIP.
Since existing comments may already have the File
Id description in them, I suggest only setting the
insert file_id diz description in commment to YES
if you are REPLACEing comments.
The more comments you add to each zip file, the LESS space
you will save.
FOR MAXIMUM SPACE AND SPEED set comment file to NONE and
comment mode to STRIP.
If you choose to use pkzip 1.1 and pkpress comes across a
2.04 file, it cannot process it. A message about "too high
a version" will be on the status line and in the log file.
TroubleShooting:
Only use pkpress on Fixed Local drives; that is don't use on
floppy drives or network drives.
Press <ESC> at anytime to abort processing.
If you have a registered version of pkzip, it is possible that
the pkzip configuration file is confusing pkpress. Temporarily
remove the pkzip config file. Pkpress should not have a problem
but it could be possible.
*** For general errors or any other weird problems, try setting
line 2 (using a 3rd party memory manager) to YES, even if you
are not.
If you have a message about CRC errors, try running Pkpress
from the directory it resides in (not from a path statement,
or from another directory as c:\pkp\pkpress.exe) first switch
to that directory. If you continue to get this message, the
code you have may have been tampered with - call the Guild
BBS for a clean copy.
Files you should have:
PKPRESS.EXE The program executable
PKPRESS.DOC This file
PKPRESS.CNF Configuration file
DIRECT.LST Multi-directory control file
LOGFILE.TXT Sample Log File
FILE_ID.DIZ Description file
ORDER.FRM Order form for registration
Credits:
PKZIP is (c) 1993 by PKWARE, Inc.
Routines from Tom Hanlin's PBCLONE were used.
PBCLONE is (c) 1993 by Tom Hanlin
PKPRESS is (c) 1993 by Maritime Computer
This program is fully functional. If you use it, please register it.
Registration is ONLY $15.00 (US) - help support shareware authors!
Registration will also give you extended access to our support BBS, and
free upgrades of newer versions - and there will be newer versions with
more functions.
The Glazer's Guild BBS
(804) 739-9315
Maritime Computer Services
PO Box 1846
Midlothian, VA 23113
To register, please send check or money order to the above address. You
will receive access to the Guild, and free updates for new versions.
Please include the program name, version number, along with your pertinent
information : (name, address, phone, etc.). Please use the order form,
ORDER.FRM for faster processing on your registration.
** Registration will remove the pkpress "ad" appended to comments in each
** zip file and the processed zip file will have the file date of the most
** recent internal file. Unregistered versions use today's date on all
** processed files. You will also receive support via our BBS. In addition,
** registration will enable full use of the pkpress config file, allowing
** you to fully process comments and other valuable features you can "unlock"
DISCLAIMER:
We ("Maritime Computer" or "Michael W. Graham") are not responsible
for any damages of any kind, including profit losses and data losses,
that relate directly or indirectly to these programs and files.
You may distribute this program, as long as it is in unmodified form
with all the files originally included. Do not "reverse engineer" or
unassemble this program.
This program and associated files may not be distributed for a fee
without express written consent from the author.