home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / ROMBRAIN.ZIP / CDCHECK.ZIP / CDCHECK.DOC next >
Text File  |  1991-09-03  |  997b  |  43 lines

  1. CDCHECK is a handy program to check your CDROM filebase for duplicates
  2. during an upload.  The correct format to use this program is:
  3.  
  4. CDCHECK FILENAME DRIVE\PATH\CDTYPE_x.3
  5.  
  6.  
  7. FILENAME is the name of the file to check.  If using this in a GAP BBS
  8. UPCHECK.BAT file, substitue %3 for the filename.
  9.  
  10. x=The type of CDROM you are using.
  11.  
  12. A = CARRS
  13. B = Shareware Grab Bag
  14. C = RBBS In-a-Box
  15. D = Custom
  16.  
  17. Include the full drive & path to the CDTYPE_x.3 file.
  18.  
  19. Use SENDCOM.EXE to send a message to the uploader if a dupe it found.
  20.  
  21. Here's a sample UPCHECK.BAT file for GAP.
  22.  
  23. ECHO OFF
  24. CDCHECK %3 C:\CDROM\CDTYPE_A.3
  25. IF NOT EXIST DUPE GOTO GOOD
  26. DEL %1
  27. DEL DUPE
  28. SENDCOM 1 CR
  29. SENDCOM 1 "Sorry! File: %3 not found on CDROM!"
  30. SENDCOM 1 CR
  31. GOTO END
  32. :GOOD
  33.  
  34. REM The rest of your UPCHECK.BAT file may follow.  Since the batch file
  35. REM DELETES the upload, GAP will abort the upload when it returns from
  36. REM UPCHECK.BAT
  37.  
  38. :END
  39.  
  40. (Put :END at the end of your UPCHECK.BAT file.)
  41.  
  42.  
  43.