home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
RBRAIN.ZIP
/
CDCHECK.ZIP
/
CDCHECK.DOC
next >
Wrap
Text File
|
1991-09-03
|
997b
|
43 lines
CDCHECK is a handy program to check your CDROM filebase for duplicates
during an upload. The correct format to use this program is:
CDCHECK FILENAME DRIVE\PATH\CDTYPE_x.3
FILENAME is the name of the file to check. If using this in a GAP BBS
UPCHECK.BAT file, substitue %3 for the filename.
x=The type of CDROM you are using.
A = CARRS
B = Shareware Grab Bag
C = RBBS In-a-Box
D = Custom
Include the full drive & path to the CDTYPE_x.3 file.
Use SENDCOM.EXE to send a message to the uploader if a dupe it found.
Here's a sample UPCHECK.BAT file for GAP.
ECHO OFF
CDCHECK %3 C:\CDROM\CDTYPE_A.3
IF NOT EXIST DUPE GOTO GOOD
DEL %1
DEL DUPE
SENDCOM 1 CR
SENDCOM 1 "Sorry! File: %3 not found on CDROM!"
SENDCOM 1 CR
GOTO END
:GOOD
REM The rest of your UPCHECK.BAT file may follow. Since the batch file
REM DELETES the upload, GAP will abort the upload when it returns from
REM UPCHECK.BAT
:END
(Put :END at the end of your UPCHECK.BAT file.)