home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
dizit20.zip
/
DIZIT.DOC
< prev
next >
Wrap
Text File
|
1993-05-11
|
12KB
|
282 lines
DizIt v2.0
For PCBoard v14.5a
By
Copyright 1993
Robert Neal
317 Hickory
Romeoville, IL 60441
Support BBS:
Corporate Headquarters BBS
Node #1: (815) 886-3233 14400 v.32bis
Node #2: (815) 886-9381 14400 v.32bis
| Text marked with "|" indicates a change since last version.
|v2.0 is a major rewrite of the original DizIt v1.x code. Sysops
|upgrading please refer to documentation for changes.
PROGRAM INFORMATION
===================
As a sysop, you've probably downloaded hundreds of files to add to your
board. You've probably used the local upload option in PCBoard to add
these files to your system, or you've used PCBFiler to read the new
files and manually typed in each file description. But with many files
now including their own description file, FILE_ID.DIZ and DESC.SDI,
wouldn't it be nice to have a program do all the work for you?
DizIt is a utility written for PCBoard v14.5a to do just that. DizIt was
written to aid sysops in adding files which contain FILE_ID.DIZ or
DESC.SDI into their upload directory from the command line. The entire
process is simple to do, even easier than using the "local upload"
option of PCBoard.
|DizIt will read the names of all files in a directory you indicate and
|then quickly snoop through each file looking to see if FILE_ID.DIZ or a
|DESC.SDI file can be found. If found, the file is processed.
|Additionally, if FILE_ID.DIZ or DESC.SDI is not found in an archived
|file, DizIt can be configured to scan a text file, that is in PCBoard
|directory format, and import descriptions directly from that file. Great
|for importing files from captured file listings of other BBS, file
|listings from CDROM's, etc. Text files do NOT need to include the "|"
|character which PCBoard requires. DizIt will import any file which
|includes the description starting in the 34th column.
If no description file is found DizIt will do no further processing of
the file except for moving the file to the holding directory you've
indicated. This allows you to place all your files you want to add in
the directory and let DizIt search for those that can be automatically
added to your PCB File directory listing.
Currently, DizIt is written to process ZIP and ARJ archived files.
Based on my experiences, the majority of files being distributed are in
these two formats and these two formats will suffice for almost all
PCBoard sysops. If you would like to see another format included, please
feel free to write me and I'll look to add the format to DizIt.
My thanks to Marc Medow of Midas Touch BBS and Ray Sulich of Straight
Board BBS for taking the time to beta test this program. Having someone
else look over your work helps get the cobwebs out.
PROGRAM INSTALLATION/OPERATION
==============================
INSTALL
-------------------------
Place the DIZIT files into a directory in your path. You may place DIZIT
in it's own directory if you so choose, but you must be sure to properly
configure the batch files to make the call to the proper directory when
running DIZIT.
Ensure that the appropriate archiving programs are available in your
directory path. For ZIP files, you'll need PKZIP.EXE and PKUNZIP.EXE.
For ARJ files you'll need ARJ.EXE. DIZIT makes a call to these programs
to extract the description files as well as importing your BBS comment
file.
CREATE CONFIGURATION FILE
--------------------------
Edit DizIt configuration file, DizIt.CFG. Use your favorite text
editor to edit this file.
The items in the configuration file are as follows, do not include the
line number references. Refer to detailed explanation below for each
line:
DizIt.CFG
--------------------------
Line 1: Corporate Headquarters BBS
Line 2: 0
Line 3: G:\WORK
Line 4: C:\UPLOAD
Line 5: C:\HOLD
Line 6: D:\PCB\MAIN\UPLD
Line 7: D:\BBS.CMT
|Line 8: D:\IMPFILE
|Line 9: D:\DIZIT\DIZIT.LOG
Line 1: BBS Name
Line 2: Registration number, leave as 0 if unregistered.
Line 3: Drive/path to be used for temporary work area. A RAM disk, if
available, is recommended. Ensure that this directory exists
before using DizIt. Do not include the trailing "\" at the
end of the directory name.
Line 4: Drive/path of where files are to be moved to once they are
processed. This could be your public upload directory, private
directory or any other directory you choose. Again, ensure that
this directory exists before using DizIt. Do not include the
trailing "\" at the end of the directory name.
Line 5: Drive/path of where files should be moved if either FILE_ID.DIZ
or DESC.SDI is not found. Enter "NONE" on this line if you want
DIZIT to keep the files in the directory they are currently
located.
Line 6: Full path/filename of the file to which is to be updated with
the files imported. Typically this will be your public upload
directory, but you may want to instead move the files to your
private upload directory so that you may preview the files
before making them public. This file should relate to the
directory choosen above.
Line 7: Full path/filename of a comment file you want to have added to
the ZIP file. Typically, this may be your "BBS AD" comment.
|Line 8: Full path/filename of a text file to be scan and descriptions
| extracted from for import. File must be in PCBoard file
| directory format.
|Line 9: Log file for DizIt, records name of files imported and if
| description file was found or not.
PROGRAM OPERATION
------------------
|Move all files to be processed into a temporary file directory. This
|directory should only contain files you wish to have imported into your
|PCBoard directory.
|
|Enter the following command at the DOS prompt:
|
|DIZIT DIZIT.CFG C:\DIZTEMP
|----- --------- ----------
| ^ ^ ^
| | | \ Location of your temporary file directory
| | \ Name of your configuration file
| \ Name you have used for the DizIt .EXE program
|
|Once the prorgam starts, it will read the names of all files in your
|temporary file directory. DizIt will then, if instructed, add the ZIP
|COMMENT specified on line 7 of the DizIt.CFG file to the ZIP file.
DizIt will then check the ZIP file to see if the FILE_ID.DIZ or
DESC.SDI file exists in the ZIP file. If not found, DizIt will skip the
file -- it will not place the filename in the PCBoard file directory
listing.
If FILE_ID.DIZ or DESC.SDI is found, DizIt will extract the file to
your temporary work directory and then begin to add the file to the end
of your PCBoard file directory indicated in the configuration file.
Unlike other similar programs, DizIt will update your PCBoard file
listing with the file size and the current date of the upload, no
further processing of the PCBoard file directory list is required.
|If FILE_ID.DIZ or DESC.SDI is not found, DizIt will optionally scan the
|text file indicated in line 8 of the DIZIT.CFG file for filename
|matches. If a match is found, DizIt will automatically import the
|description from the text file.
Once DizIt has imported the file and description into your PCBoard file
directory list, DizIt will move the file from the current directory to
the directory specified in line 4 in the configuration file.
REGISTRATION
============
DizIt is released as user support software (aka SHAREWARE). I don't
expect you to register the program if you don't like it or if it doesn't
meet your needs (just stop using it). But if you continue to use DizIt
after a reasonable evaluation period of up to 30 days, you are required
to make payment for the program or stop using it.
DizIt is NOT crippled in any way other than a marker "->DizIt" will be
added to the last line of the file description field. This function has
been added as an incentive to register the program. Once you have
registered the program, the marker will no longer added to the imported
description.
Registration is only $10 and will include unlimited free upgrades and
support via my BBS.
Please use the form REGISTER.FRM included with the program to register
DizIt. If this file is missing, send a check for $10 (US funds) to:
Robert Neal
317 Hickory
Romeoville, IL 60441
Please include your BBS name as this information will be used to create
your unique registration key file. You may receive your registration
file via my support BBS (but please be sure you have an account
established on my BBS so that I can leave this information in a private
message to you) or via the US Mail. Please indicate your preference.
Keep your eye open for other utility programs from me written for
PCBoard. Several programs are now in the works and should be released
soon. Also, look for my door programs, Card Sharks and Links Golf
(available on my BBS as well), I think your users will enjoy playing
them. See the file OTHER.TXT for a listing of all my currently available
programs.
You may register online with your Visa, MasterCard, Amex or Discover
card by calling my BBS and typing CHARGE at the main menu prompt.
SUPPORT
===================
If you have any questions, comments, problems, suggestions for enhancements,
etc., I may be reached at my support BBS or by mail. In addition, you may send
a message to me on the RIME conferences to my BBS "CHQBBS", I regularly
monitor the messages in the Sysop, BBS and PCBoard Support conferences. I can
also be reached via Prodigy, PNSP01A.
LEGAL INFORMATION
===============================
This program is provided on an "AS IS" basis. No warranty of any kind is
expressed or implied. YOU USE THIS PROGRAM AT YOUR OWN RISK. I take no
responsibility for any damage caused directly or indirectly from the use or
the inability to use this program.
VERSION HISTORY:
v1.0 - Initial release
v1.1 - Fixed bug where if NONE was selected as the directory to
move files to, DIZIT would rename file to NONE.
If DIZIT processed a file at the same time that the
PCBoard upload directory was being browsed on a 2nd
node, DIZIT would return error. Revised file handling
so that this no longer occurs - DIZIT updates file
without an error.
v2.0 - Rewrite of original code for improved status display and
speed.
Added option to scan text file listing for descriptions
to be imported if FILE_ID.DIZ or DESC.SDI file is not
found.
Program now includes internal routines to read directory
information. No need to use batch files to process a
group of files.
Added LOG FILE feature.