home *** CD-ROM | disk | FTP | other *** search
- PCBDescribe Version 5.01
- Automatic Upload Description Insertion for PCBoard
-
- Copyright (c) 1993 by Clark Development Co., Inc. All Rights Reserved
-
-
- PCBDESC.EXE checks uploaded files for FILE_ID.DIZ (Description In Zipfile)
- files provided by the program author. If the uploaded file contains a
- description file, it will replace the user supplied description with the one
- provided in the file.
-
- PCBDescribe can optionally append a line to the description showing the number
- of files and the dates of both the oldest and the newest files in the archive.
-
- PCBDescribe is compatible with the following archive formats and requires the
- specified program to unarchive the description files when found:
-
- Compatible With Requires
- =============== ========
- .ZIP PKUNZIP
- .ARJ ARJ
- .LZH LHA
- .PAK PAK
- .ARC PKXARC
-
-
- INSTALLING PCBDescribe
- ======================
- PCBDescribe *REQUIRES* PCBoard version 14.5a or higher BBS software to operate.
- Earlier versions of PCBoard, or other BBS software packages are NOT compatible
- with PCBDescribe.
-
- PCBDescribe is used inside of the PCBTEST.BAT file, which is run to test each
- upload to the system. Place the PCBDESC.EXE file in your default \PCB
- directory, and insert the following line into PCBTEST.BAT:
-
- IF %2==UPLOAD PCBDESC %1 %3
-
- And it's ready to go. There is only one option; if you would like to have an
- additional line in the description showing the date of the oldest and newest
- files in the archive, then use this command instead:
-
- IF %2==UPLOAD PCBDESC /D %1 %3
-
- The word "UPLOAD" in the above example is case sensitive. Make sure you type
- it in uppercase letters. Also make sure that you have a copy each of the
- required unarchive programs (PKUNZIP, ARJ, LHA, PAK, PKXARC) according to the
- types of files you expect to receive. These unarchive programs should be
- placed either in your default \PCB directory, or in a subdirectory referenced
- by your PATH.
-
- PCBDescribe can be the first thing in your PCBTEST.BAT file; it will only
- operate on ZIP, ARJ, LZH, PAK and ARC files (as well as self-extracting
- versions of those files).
-
- Beginning with the 2.10 release PCBDescribe will watch for DOS reserved words
- such as CON, AUX, PRN, CLOCK$, COMx, LPTx, and, if found in the archive, will
- RENAME the file to filename.ZIQ, adding one to the last letter of the filename,
- (or filename.ARK or filename.EXF depending on the extension of the file) and it
- will then leave a one line addition in the UPDESC file indicating the reason
- for the rejecting. Finally, it will exit to DOS with an errorlevel of 5 to
- indicate a problem with the file so that further testing of the file can be
- AVOIDED saving the system from a lockup that could occur if you have a testing
- program that does not watch for DOS reserved words. NOTE: none of the other
- functions of PCBDescribe will be performed if a reserved word is found. You
- should write your test batch files so that no other functions are performed by
- any other programs either.
-
- It is recommended that immediately after the execution of PCBDescribe you
- insert a line in the PCBTEST.BAT file that reads:
-
- IF ERRORLEVEL == 5 GOTO END
-
- Then have a line at the bottom of the PCBTEST.BAT file that has nothing but
- ":END" on it. This will allow PCBDescribe's errorlevel 5 to signal that the
- rest of the testing process should be skipped.
-
-
- ERRORLEVEL RETURNS
- ==================
- PCBDescribe will return errorlevels to your batch file to indicate what it has
- done. These errorlevels can then be tested and used for your own purposes.
- Return values are as follows:
-
- 0 = No processing performed
- 1 = File was not a supported archive or contents were damaged
- 2 = Description was updated (due to FILE_ID.DIZ or DESC.SDI)
- 3 = Description was updated (no FILE_ID but dates were added)
- 4 = Found description file but unable to process
- 5 = Found a DOS reserved word, file renamed, description
- modified, no further actions have been taken nor should be
- taken by other programs.
-
-
- THE DESCRIPTION FILE
- ====================
- PCBDescribe will accept descriptions contained in FILE_ID.DIZ files found in
- the archive being tested. The FILE_ID.DIZ file is an ASCII text file, and can
- contain up to 10 lines of 45 characters each. The first line of this file is
- the program name and version, and the following lines describe the function of
- the program.
-
- It is recommended that formatting codes (such as ASCII line drawing characters)
- NOT be used. However, beginning with version 4.00 PCBDescribe will now
- recognize some forms of 'formatting' by detecting these high ASCII characters
- and will attempt to protect formatted lines from being word wrapped.
-
- PCBDescribe will also detect and use descriptions contained in DESC.SDI files
- if they are present. No other description file formats are supported.
-
-
- =============================================================================
- ATTENTION! The FILE_ID.DIZ file format is intended for the program author's
- use in providing a coherent description of his program. In this way, the
- author and the sysop can be assured that the program will be properly described
- when uploaded to a BBS. DO NOT use this file for BBS advertising!
- =============================================================================
-
-
-
- REVISION HISTORY:
- Version 1.00 - Original Release
-
- Version 1.10 - Maintainence Release
- -----------------------------------
- If a stray description file was left in the default directory,
- PCBDescribe could stick on it. Fixed.
-
- And to prevent problems for those who insist on using PCBDescribe with
- the wrong BBS software:
- Added testing for improper version of PCBoard software.
- Added testing for proper filespecs on command line.
-
- Updated documentation to include the exit codes returned by PCBDescribe.
-
- Version 1.11 - Bug Fix Release
- ------------------------------
- Error 53 at 4626 caused by incorrect call to PKUNZIP. Sorry about
- that, folks. Fixed.
-
- Version 2.00 - Rewrite in C
- ---------------------------
- Made the program both smaller and faster
-
- Fixed a problem with running on Alloy Slave Cards
-
- Changed date line from "Latest File Date in ZIP: MM/DD/YY" to "Files: #
- Oldest: MM/DD/YY Newest: MM/DD/YY"
-
- Added ERRORLEVEL 2 if a description file was found and processed
-
- PLEASE NOTE:
- ------------
- Previous recommended usage was: PCBDESC [/D] %1 %3
- Current recommend usage is now: IF %2 == UPLOAD PCBDESC [/D] %1 %3
-
- The change avoids running PCBDescribe if PCBoard's "TEST" command is being
- used instead of executing an upload test procedure.
-
-
- Version 2.01 - Minor fix
- ------------------------
- Removed the FILE_ID.DIZ or DESC.SDI files after reading them. Not
- deleting them caused no harm, they could not be re-used, but the
- change was made just to make the running more transparent.
-
-
- Version 2.02 - Minor change
- ---------------------------
- Old errorlevels:
- 2 = Description was updated (file_id or dates added to desc)
- 3 = Found description file but unable to process
-
- New errorlevels:
- 2 = Description was updated (due to FILE_ID.DIZ or DESC.SDI)
- 3 = Description was updated (no FILE_ID but dates were added)
- 4 = Found description file but unable to process
-
- Version 2.03 - Minor fix
- ------------------------
- Errorlevel 3 was being returned to indicate file dates were added to
- the description even if you did not use the /D parameter to insert
- the file dates. Fixed.
-
-
- Version 2.04 - Minor fix
- ------------------------
- FILE_ID.DIZ files are only supposed to be up to 10 lines in length. A
- 34 line file managed to lock PCBDescribe up. Fixed.
-
-
- Version 3.00 - Added new capability
- -----------------------------------
- Added the ability to detect and REJECT a zip that has a DOS reserved
- word in it.
-
-
- Version 3.01 - Minor fix
- ------------------------
- PCBDescribe could crash on some OS/2 installations. The same fix
- that OS2PATCH.ZIP provided for the PCB145.EXE file has been applied
- to the PCBDESC.EXE file.
-
- Version 4.00 - Added new capability
- -----------------------------------
- Added the following abilities: 1) Removal of PCBoard @-macros, 2)
- Removal of control codes, 3) Awareness of certain forms of 'formatting'
- which allows the formatting to remain intact. Also, improved the
- ability to maximize spacing (when word wrapping) to reduce the number
- of lines in the output.
-
-
- Version 4.01 - Minor fix
- ------------------------
- A lockup could occur upon detection of a PCBoard macro that was not
- completely identified. Fixed.
-
-
- Version 4.02 - Update
- ---------------------
- Added compatibility with PKZIP v2.04c, including self extracting .EXE
- files created using ZIP2EXE (both 'junior size' and full blown).
-
-
- Version 5.00 - Added new capabilities
- -------------------------------------
- Added compatibility with ARJ
- Added compatibility with LHA
- Added compatibility with PAK
- Added compatibility with ARC
-
- PCBDescribe is also compatible with self-extracting versions of each
- archive supported.
-
-
- Version 5.01 - Minor fix
- ------------------------
- Minor tuning of the ARJ routines to make it compatible with the
- beta version of ARJ.