home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
BBS.ARJ
/
BBS
/
RUNBBS.BAT
Wrap
DOS Batch File
|
1996-03-30
|
2KB
|
124 lines
@ECHO OFF
x00 e 1=2f8,3 B,1,38400 R=4096 T=4096
xu fifo:16
:START
cls
CD\BBS\BT
move /y \files\mailgate\*.* \bbs\inbound
copy \bbs\outbound\*.d?? \bbs\outbound\*.h?? /y
copy \bbs\outbound\*.cut \bbs\outbound\*.hut /y
del \bbs\outbound\*.d??
del \bbs\outbound\*.cut
del \bbs\outbound\*.bsy
BT
If ErrorLevel 384 goto BBS
if ErrorLevel 255 goto FAXIN
If ErrorLevel 192 goto BBS
If ErrorLevel 144 goto BBS
if ErrorLevel 120 goto BBS
if ErrorLevel 101 goto FILELIST
IF ERRORLEVEL 100 GOTO BBS_Local
If ErrorLevel 96 goto BBS
IF ERRORLEVEL 90 GOTO TOP15s
IF ERRORLEVEL 80 GOTO AMAX
If ErrorLevel 72 goto BBS
IF ERRORLEVEL 70 GOTO Golded
IF ERRORLEVEL 65 GOTO NOTHING
IF ERRORLEVEL 64 GOTO BBS
IF ERRORLEVEL 60 GOTO UNPACKMAIL
IF ERRORLEVEL 50 GOTO NET&ECHO
If ErrorLevel 48 goto BBS
IF ERRORLEVEL 40 GOTO MSG_PACK
If ErrorLevel 24 goto BBS
IF ERRORLEVEL 20 GOTO NOTHING
IF ERRORLEVEL 12 GOTO BBS
IF ERRORLEVEL 10 GOTO NOTHING
IF ERRORLEVEL 3 GOTO RUNGECHO
IF ERRORLEVEL 1 GOTO EXIT
GOTO START
:RUNGECHO
XCOPY \BBS\INBOUND \BBS\MSG
cd\bbs\gecho
gecho scan pack toss import mgr notify -force
cd\bbs\bt
ommm -sA
GOTO START
:FILELIST
\BBS\RA\RAFILE FILELIST FILES.BBS
COPY FILES.BBS \FILES\GWBBS /Y
CD\BBS\RAUSM
RAUSM > NUL
CD\BBS\ra
ramsg purge
ramsg pack
rem cd\bbs\gecho
rem gecho scan pack toss import mgr notify -force
rem mbutil pack
GOTO UNPACKMAIL
:BBS
call bbsbatch.bat
cd\bbs\gecho
goto start
:AMAX
CD\BBS\AMAX
CALL MAX
GOTO START
:Golded
CD\bbs\golded
golded
cd\bbs\gecho
rem mbutil purge -Days 30 -Rcvd 30
gecho scan pack toss import mgr notify -force
GOTO START
:NOTHING
GOTO START
:MSG_PACK
CD\BBS\GECHO
MBUTIL -PACK
GOTO START
:NET&ECHO
CD\BBS\gecho
gecho scan pack
GOTO BUNDLE
:ECHO_MAIL
CD\BBS\gecho
gecho scan pack
GOTO BUNDLE
:NET_MAIL
CD\BBS\gecho
gecho scan pack
GOTO BUNDLE
:UNPACKMAIL
XCOPY \BBS\INBOUND \BBS\MSG
CD\BBS\gecho
mbutil purge -Days 40 -Rcvd 40
gecho scan pack mgr toss import notify -force
cd\bbs\bt
ommm -sA
:BUNDLE
goto start
:BBS_Local
cd\bbs\ra
ra -l
goto start
:EXIT
CD\BBS
ECHO
ECHO Down .......
ECHO ON