home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR31
/
DRS090B.ZIP
/
DRS.DOC
next >
Wrap
Text File
|
1993-08-23
|
6KB
|
135 lines
THE DUPLICATE REMOVAL SYSTEM
by Daniel L. Chlarson
DRS Version 0.9
(C) Copyright 1993 Daniel L. Chlarson
DATA -- (801) 964-2885
09 August 1993
INTRODUCTION:
The Duplicate Removal System (DRS) is designed to allow the
PCBoard sysop to eliminate duplicate revisions of a file from their
BBS. DRS will intelligently analyze a selected DIR file and
determine possible duplicate revisions of a file based on
search/matching criteria determined by the sysop. The final
result? More hard drive space available for new file storage.
USAGE:
DRS is designed to be extremely simple and straight-forward
for the user. When DRS is first run, it must be supplied with the
location of the PCBOARD.DAT that the BBS system is using. This can
be done in one of the following methods:
1) Explicit definition. You can enter the path to the
PCBOARD.DAT on the command line. For example, if your
PCBOARD.DAT is in your D:\PCB directory, then the correct
command line would be:
DRS D:\PCB\PCBOARD.DAT
2) Environmental variable. DRS will attempt to read from the
PCBDAT environment variable if it is present. For example, if
your PCBOARD.DAT file is located in your D:\PCB directory,
then add the following line to your AUTOEXEC.BAT file:
SET PCBDAT=D:\PCB\PCBOARD.DAT
3) Assumption. If no other information is available, DRS
will assume a default PCBOARD.DAT location of C:\PCB and
attempt to access the file there.
After an informational screen (and a delay for the
unregistered version), DRS will present you with a conference
selection screen. This will allow you to choose which of your
conferences you wish to duplicate check. Within the conference
selection screen, the following options are available:
1) Up arrow. This selection will move the selection box up
one position in the same column, unless the top of the column
has been reached (position 0, 1, or 2).
2) Down arrow. This selection will move the selection box
down one position in the same column, unless the bottom of the
column has been reached (one of the last three conferences).
3) Page up. This selection will advance the screen to the
previous page of conference selections, unless you are already
on the first page.
4) Page down. This selection will advance the screen to the
next page of conference selections, unless you are already on
the last page.
Upon selection of the appropriate conference to duplicate
check, DRS will present a scrollable DIRectory selection menu.
This menu will allow you to select the DIR file that you wish to
check for duplicate revisions. The same selection keys area again
available on this menu: up arrow, down arrow, page up, and page
down.
You must now enter the number of characters by which to sort
the DIR file. This number must be between 2 and 7. Since DOS
requires a unique filename of up to 8 characters plus an extension,
there should be no 8 characters duplications on your BBS. An entry
of 1 would merely be a first letter match, which would not be very
useful for duplicate revision checking. Thus, the 2 to 7 selection
criteria. For initial checks of a DIR, a number of 5-6 is
suggested. Following checks can decrease that number.
DRS will sort the DIR according to the value entered and
present a screen of possible duplicate revisions. This scrollable
selection screen will display the potential duplicates with
separators to indicate what groups are considered to be potential
duplicates of each other. Initially, no files are selected for
deletion. The enter key serves to select/deselect files. When a
file (and its accompanying DIR entry) are selected for deletion, a
√ will be shown to the right of the filename. Should you select a
file for deletion in error, pressing enter again will deselect the
file.
When you are finished selecting files for deletion, press F5
to continue. You will now be prompted as to whether you wish to
delete the files in question from only the attached sub-directory
or from the entire download path. Upon entry of this selection,
the actual processing of the DIR file and the directory begins.
The original DIR file will be saved with a .BAK extension. DRS
will then produce a new DIR file, removing the selected files and
descriptions from the previous DIR. At the same time, the physical
files tagged for deletion are also removed. Should DRS be unable
to delete a file (it is on a CD ROM, for example), you will be
prompted as to whether or not to delete the file description from
the DIR file.
At this point, DRS will loop back to the Conference Selection
Screen in you continue. The option of exiting to DOS is also
available.
If you are using .IDX files in your DLPATH.LST and you delete
ANY duplicate revisions, REMEMBER to update your .IDX file. If
there is a REFRESH.BAT present in the directory that DRS is run
from, DRS will run the batch file to refresh your .IDX files.