home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
11a
/
catlog1.zip
/
CATLOG1.DOC
next >
Wrap
Text File
|
1990-09-19
|
5KB
|
85 lines
CATLOG1.EXE
Floppy Disk Catalog Utility
The purpose of this program is to generate and maintain a catalog of
floppy disks so that you can quickly and easily locate any file.
CATLOG1 is geared mainly toward bulletin board system operators.
When you first start the program, it will ask you to enter the letter of
the floppy drive that you wish to catalog.
It will then ask you to enter the path and filename of the file that
contains the names and descriptions of all your files - in other words,
your allfiles list. The file descriptions should start in column 30 or
beyond.
You will then be prompted to enter the path and filename of the file
that you want your catalog saved to. I suggest using a name which
refers to the type of files on the floppies. For example, if you are
cataloging the "Utilities" area of your bbs, enter "UTILS" for the
filename.
You next enter a suitable category name. Using the previous example,
"Utilities" would be a suitable category name. This is used as header
information in the output file.
Finally, enter a starting number. This will be the number of the disk
within the category that you previously entered. Again, using the
previous example, if you enter "1" here, the header for the first floppy
in the output file will be "Utilities 1". This number is incremented
after each floppy.
At this point, the program will check the files on the floppy and find
the matching filenames and descriptions on the allfiles list. It will
save this information in the output file. If any file on the floppy is
NOT found in the allfiles list, the file name, size, and date will be
saved to the output file and the description will say "NO DESCRIPTION
FOUND". After the first floppy is complete, you will be told to enter
the next floppy and press "Y" to continue, or to press any other key to
stop.
After you have finished cataloging all the files in this category, press
any key (other than "Y") to finish. At this point, several statistics
will be displayed. These include: total files processed, average file
size, number of files with no descriptions found, and more.
There are two DOS environment variables that you have the option to set.
The first one is CATLOG and should be set to equal the path and filename
of your allfiles list. For example, if you keep your allfiles list in
the directory D:\QBBS\RECENT (and it is named ALLFILES.LST), you would
do this: SET CATLOG=D:\QBBS\RECENT\ALLFILES.LST. This is NOT
necessary, but it does save some typing if you use the program to
catalog several file categories in one session. If this environmental
variable is not set, the program will ask you for this information. If
the variable IS set, the program will skip the question.
The other environment variable is COLM. This one is used if the
descriptions in your allfiles list DO NOT start in column 30. You would
set this to equal the column number of the first character of the file
descriptions. For example, if your descriptions start in column 14 (as
in a QuickBBS FILES.BBS file), you would do this: SET COLM=14. Again,
this is necessary ONLY if your file descriptions do NOT start in column
30.
Here is a sample run: I want to catalog the backup floppies I have of
the utility directory of my bulletin board. I start the program and
enter the information it asks me. I tell it "D:\UTILS" for an output
filename, "Utilities" for a category name, and "1" for a starting
number. Now I just feed floppies and keep pressing "Y" until I have
gone through all the backup floppies (in this case, we'll say it was 15
disks). At this point, I press any key other than "Y" to exit the
program. The next time I have backups in this category to categorize, I
will give the program all the same information, except I'll use "16" as
a starting number. The new information will be appended to the old and
I'll have an ongoing list of which files are on which floppies.
If you find this program useful in any way, all I ask is that you call
my bbs or netmail me and let me know. Any and all comments are welcome.
Ron Bergeron
The Machine
(508)948-2921
FidoNet 1:324/124