home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ZIPUP Version 1.3
-
- "ZIP Comment Stripper/Adder"
-
-
-
-
- Written by:
-
- Bob Jaques
-
- and
-
- Jim Barth
-
-
-
-
- PURPOSE
- -------
-
- "ZIPUP" is a handy utility written and compiled in Turbo C++ 1.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:3607/21 12-9600HST) Jim Barth (1:350/21 12-2400)
- Rt. 7 Box 415 11544 Kevin Lane NE
- Cullman, AL 35055 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 ASCII or ANSI 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 are 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 => Program will prompt for .ZIP file
- name and comment file name.
-
- ZIPUP *.* => Adds a comment to all .ZIP files
- in the current directory using
- a default comment file of
- ZIPUP.TXT.
-
- ZIPUP *.ZIP => Effectivly the same as the above
- example. Will run slightly
- faster as it doesn't have to check
- whether the file has a .ZIP
- extension.
-
- ZIPUP ZIPFILE.* COMMENT.TXT => Adds the comment stored in
- COMMENT.TXT to the specific file
- ZIPFILE.ZIP. Program will ignore
- anything but a .ZIP file
- automatically.
-
- ZIPUP ZIPFILE.ZIP COMMENT.TXT => Exact same results as above
- example. Runs slightly faster as
- it doesn't have to check whether
- the file has the .ZIP extension.
-
- 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
- the authors.
-
-
-
-
- HISTORY
- -------
- Version 1.3
-
- Added code to prompt for .ZIP file name and Comment file name if they
- aren't found on the command line. Some late releases of Version 1.2
- had this feature.
- Added some code to retain the original date of the .ZIP file. This was
- requested by some of the users who don't get a chance to process the
- uploads on there BBS the same day they get them.
- Sped up the display of the working indicator to show activity better
- when ZIPUP is used on a network. I am working on a full Netbios
- Compatible version at this time.
-
- Version 1.2
-
- Improved the command line use of Wildcards. All DOS wildcards are now
- supported.
- Added error messages for non-fatal errors.
- Changed display to look similar to PKZIP.
- Added indicator to tell when program is actually working. (Thanks, Phil!)
-
- Version 1.1
-
- Fixed major bug that cropped up when you tried to add a shorter comment
- to the ZIP file than what was there before. The program used to just
- skip over the offending .ZIP file and go on to the next one.
- Introduced limited wildcard usage.
- Fixed minor bugs that were reported in Version 1.0.
- Modified display of program to show file that have been processed.
-
- Version 1.0 10-15-89
-
- The first release.
-
-