home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
arc
/
zipup1_1.lzh
/
ZIPUP1_1.DOC
< prev
Wrap
Text File
|
1989-10-16
|
5KB
|
142 lines
ZIPUP Version 1.1
"ZIP Comment Stripper/Adder"
Written by:
Bob Jaques
and
Jim Barth
PURPOSE
-------
"ZIPUP" is a handy utility written and compiled in Turbo C 2.0 that will
add comments to user-supplied files that are compressed under Phil Katz's
PKZIP compression routines. ZIPUP is flexible and configurable to fit the
needs of most who would use this type of program.This utility has been
tested under all known possible combinations and has proven to be
reliable, fast and easy-to-use, but we, the authors, can take no liability
nor provide any guarantee for the use of this program. If you come across
a problem or a suggestion to make this routine better and more efficient,
please drop us a line as we would like to hear your comments. At any rate,
please share this program with others.
COST
----
There is no cost! This utility is not Shareware, commercial or public
domain. Instead, it is "PostWare", meaning that if you like it and find it
useful, we would appreciate you sending us a postcard from your locale
letting us know that you are using it. Or, drop one or the other of the
authors a FIDO-Net NETMAIL message letting us know your comments on the
utility.
Bob Jaques (1:350/20 12-14.4K HST) Jim Barth (1:350/21 12-2400)
6814 Helena Drive NE 11544 Kevin Lane NE
Bremerton, WA 98310 Poulsbo, WA 98370
USAGE
-----
ZIPUP will accept up to two command line arguments to process your ZIP
files in the general format of:
ZIPUP C:\PATH\ZIPFILE.ZIP C:\PATH\COMMENT.TXT
If no argument for the comment path\filename is entered, ZIPUP will
automatically default to use a comment file called ZIPUP.TXT, which should
be in the same directory that ZIPUP is run from. The comment file is
simply any text/ANSII file that you create with your word processor or text
editor (such as DOS' EDLIN.COM) and is often used to personalize a bulletin
board's downloadable files. There is an upper size limit to the length of
the comment file that can be inserted to a ZIP file by ZIPUP, which is
around 65,000 bytes -- a little unfeasible in our opinion.
If there is already comments attached to the ZIP files that ZIPUP will
process, ZIPUP will automatically replace those "old" comments with the
comment specified in your comment file. This is a handy fix for users who
upload ZIP files to a BBS that still has comments from the BBS he may have
just downloaded it from.
EXAMPLES
--------
Here are some valid examples for the use of ZIPUP:
ZIPUP *.ZIP => Adds a comment to all .ZIP files
in the current directory using
a default comment file of
ZIPUP.TXT.
ZIPUP ZIPFILE COMMENT.TXT => Adds the comment stored in
COMMENT.TXT to the specific file
ZIPFILE.ZIP.
ZIPUP ZIPFILE.ZIP COMMENT.TXT => Exact same results as above
example.
ZIPUP E:\BBS\UPLOAD\*.ZIP C:\ZIPUP.TXT => Adds the comment stored in
C:\ZIPUP.TXT to all ZIP files
found in E:\BBS\UPLOAD\
ERROR LEVELS
------------
Since ZIPUP was written to be easily run from a batch file, two possible
ERRORLEVELS are set after the program has run. If no errors were
encountered during program execution, the ERRORLEVEL will be set to '0'.
If, on the other hand, ZIPUP was unable to execute flawlessly, the returned
ERRORLEVEL will be set to '1'. After running this routine for a while, we
have noticed that perhaps a couple more ERRORLEVELS would be handy to
indicate specific "problems"; this will be added in a future update.
SOURCE CODE
-----------
This utility came about as a result a combination of the authors wanting to
know more about the structures used in ZIP files and writing a useful
utility incorporating this knowledge. Obviously, there is no secret to the
algorithms used to create this utility and if you would like a copy of the
'C' source code, it can be File Requested via FIDONET as ZIPUPSRC.ZIP from
either author.