home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
open
/
rundoors.lzh
/
QBBSLOAD.BAT
next >
Wrap
DOS Batch File
|
1988-09-10
|
2KB
|
76 lines
ECHO OFF
CLS
:LOAD
CD C:\BBS\QCKBBS\BTERM
BT
IF ERRORLEVEL 30 GOTO UNPACK
IF ERRORLEVEL 24 GOTO 2400BAUD
IF ERRORLEVEL 20 GOTO DAILY
IF ERRORLEVEL 12 GOTO 1200BAUD
IF ERRORLEVEL 10 GOTO LOCAL
IF ERRORLEVEL 3 GOTO 300BAUD
IF ERRORLEVEL 1 GOTO EXIT
GOTO LOAD
:LOCAL
CD C:\BBS\QCKBBS
QUICKBBS -L -E0
GOTO QUICKOUT
:300BAUD
CD C:\BBS\QCKBBS
QUICKBBS -B300 -E0
GOTO QUICKOUT
:1200BAUD
CD C:\BBS\QCKBBS
QUICKBBS -B1200 -E0
GOTO QUICKOUT
:2400BAUD
CD C:\BBS\QCKBBS
QUICKBBS -B2400 -E0
GOTO QUICKOUT
:QUICKOUT
QUICKOUT
:UNPACK
COPY C:\BBS\QCKBBS\BTERM\NETMSGS\*.* C:\BBS\QCKBBS\LOGS
CD C:\BBS\QCKBBS\BTERM\NETMSGS
IF EXIST 00*.* C:\BBS\QCKBBS\PKXARC 00*.* C:\BBS\QCKBBS\BTERM\NETMSGS
ERASE 00*.*
IF EXIST *.M* C:\BBS\QCKBBS\PKXARC *.M* C:\BBS\QCKBBS\BTERM\NETMSGS
ERASE *.M*
CD C:\BBS\QCKBBS
ECHOGEN -B -T -U -V -Z
MAILTOSS -K 8
CD C:\BBS\QCKBBS\BTERM\NETMSGS
IF EXIST FNEW*.* C:\BBS\QCKBBS\PKXARC FNEW*.* C:\BBS\QCKBBS\TEXT
IF EXIST FNEW*.* ERASE FNEW*.*
ERASE *.ARC
CD C:\BBS\QCKBBS\TEXT
IF EXIST FIDO*.* ERASE FNNEWS.ASC
IF EXIST FIDO*.* COPY FIDO*.* FNNEWS.ASC
ERASE FIDO*.*
CD C:\BBS\QCKBBS\BTERM\NETMSGS
IF NOT EXIST NODEDIFF.* GOTO PACK
C:\BBS\QCKBBS\PKXARC NODEDIFF.* C:\BBS\QCKBBS\BTERM
ERASE NODEDIFF.*
CD C:\BBS\QCKBBS\BTERM
XLAXDIFF
XLAXNODE
CD C:\BBS\QCKBBS
QNODE C:\BBS\QCKBBS\BTERM\
:PACK
CD C:\BBS\QCKBBS\BTERM
OMMM -S%SCHED% -HC:\BBS\QCKBBS\BTERM\OUTBOUND\ -IC:\BBS\QCKBBS\BTERM\BINKLEY.PRM -MC:\BBS\QCKBBS\BTERM\NETMSGS\ -CC:\OMMM.CTL -N
GOTO LOAD
:EXIT
ECHO ATH1M0 >COM1
ECHO OFF
CLS
EXIT