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 >
Wrap
DOS Batch File
|
1992-03-06
|
1KB
|
48 lines
@ECHO OFF
REM Copyright(c), 1992 Synergy Computer Systems, Cocoa Beach, Florida.
REM This batch file replaces the original "FILEDOOR.BAT" as described in
REM the SYSOP.DOC "Advanced Setup". FILEDOOR.BAT as described in SYSOP.DOC
REM has been slightly modified and renamed NONE.BAT. This batch file tests
REM the users ANSI setting, and runs a special batchfile per that setting.
REM The CLEANUP of this batch file now contains the the default toggle
REM setting. Your BBS Name is now passed along to the files. The only
REM thing you might need to edit in the three batch files stated bellow
REM is the SLDIR line for special exclusions - (defaults to "-INCLUDE").
IF %1==C GOTO COLOR
IF %1==M GOTO MONO
IF %1==N GOTO NONE
GOTO END
:COLOR
CD FILEDOOR
CALL COLOR %2 %3 %4 %5 %6
GOTO CLEANUP
:MONO
CD FILEDOOR
CALL MONO %2 %3 %4 %5 %6
GOTO CLEANUP
:NONE
CD FILEDOOR
CALL NONE %2 %3 %4 %5 %6
GOTO CLEANUP
:CLEANUP
CALL AUTOOFF
IF %4==0 GOTO LOCAL
DEL %6.ZIP
GOTO END
:LOCAL
CLS
ECHO Since you are logged on locally I'll assume you could not D/L
ECHO %6.ZIP. I therefore have not deleted %6.ZIP.
GOTO END
:END