home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / syread03.zip / FILDOR10.ZIP / FILEDOOR.BAT < prev    next >
DOS Batch File  |  1992-03-06  |  1KB  |  48 lines

  1. @ECHO OFF
  2.  
  3. REM  Copyright(c), 1992  Synergy Computer Systems, Cocoa Beach, Florida.
  4.  
  5. REM  This batch file replaces the original "FILEDOOR.BAT" as described in
  6. REM  the SYSOP.DOC  "Advanced Setup". FILEDOOR.BAT as described in SYSOP.DOC
  7. REM  has been slightly modified and renamed NONE.BAT.  This batch file tests
  8. REM  the users ANSI setting, and runs a special batchfile per that setting.
  9. REM  The CLEANUP of this batch file now contains the  the default toggle
  10. REM  setting. Your BBS Name is now passed along to the files.  The only
  11. REM  thing you might need to edit in the three batch files stated bellow
  12. REM  is the SLDIR line for special exclusions - (defaults to "-INCLUDE").
  13.  
  14. IF %1==C GOTO COLOR
  15. IF %1==M GOTO MONO
  16. IF %1==N GOTO NONE
  17. GOTO END
  18. :COLOR
  19.   CD FILEDOOR
  20.   CALL COLOR %2 %3 %4 %5 %6
  21.   GOTO CLEANUP
  22. :MONO
  23.   CD FILEDOOR
  24.   CALL MONO %2 %3 %4 %5 %6
  25.   GOTO CLEANUP
  26. :NONE
  27.   CD FILEDOOR
  28.   CALL NONE %2 %3 %4 %5 %6
  29.   GOTO CLEANUP
  30. :CLEANUP
  31.   CALL AUTOOFF
  32.   IF %4==0 GOTO LOCAL
  33.   DEL %6.ZIP
  34.   GOTO END
  35. :LOCAL
  36.   CLS
  37.   ECHO Since you are logged on locally I'll assume you could not D/L 
  38.   ECHO %6.ZIP.  I therefore have not deleted %6.ZIP.
  39.   GOTO END
  40. :END
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.