home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
bbs
/
im
/
IMRUN.BAT
< prev
next >
Wrap
DOS Batch File
|
1976-11-24
|
4KB
|
158 lines
@echo off
if [%1] == [1] goto start
if [%1] == [2] goto start
if [%1] == [3] goto start
if [%1] == [4] goto start
:start
:loop
cd \BBS\IM\NODE%1
\BBS\IM\im.exe /#%1
if errorlevel 200 goto filelist
if errorlevel 100 goto bbscall
if errorlevel 50 goto RUNGECHO
if errorlevel 10 goto done rem * User exit
if errorlevel 8 exit rem * InterMail already loaded
if errorlevel 6 goto Nothing
if errorlevel 5 goto Nothing
if errorlevel 4 goto Nothing
if errorlevel 3 goto Nothing
if errorlevel 1 goto Nothing
:Nothing
goto loop
:bbscall
\bbs\ra\door\lastcall\lastcall.exe /F:\bbs\ra\txtfiles\lastcall
DOBBS.bat
goto loop
:Filelist
CD\BBS\RA\BDAY
RABDAY
\BBS\RA\DOOR\NEW2YOU\NEW2YOU NEW2YOU.CFG
CD\BBS\RA\DOOR\TOPSTAT
TOPSTAT
CD\BBS\RA
COPY TOP_*.* \BBS\RA\TXTFILES /Y
CD\BBS\RA\TXTFILES
del hdayz.a??
del welcome1.a??
cd\bbs\ra\hdayz
hdayz /B
cd\bbs\ra\txtfiles
ren hdayz.ans welcome1.ans
ren hdayz.asc welcome1.asc
\bbs\ra\door\tdaycall\abusers.exe
cd\bbs\ra\door\frame
frame header
Frame stats
cd\bbs\ra
copy F_*.a?? \bbs\ra\txtfiles /Y
cd\bbs\rats
ratpay
rmu
rem cd\bbs\ra\door\icemgr
rem icemgr
cd\bbs\ra
rafile filelist \software\paradise\files.all /7bit
goto test
rafile filelist \files\paradise\files.bbs 1 /7bit
rafile filelist \files\upload\files.bbs 2 /7bit
rafile filelist \files\internet\files.bbs 3 /7bit
rafile filelist \files\txt\files.bbs 4 /7bit
rafile filelist \files\midi\files.bbs 5 /7bit
rafile filelist \files\commdos\files.bbs 6 /7bit
rafile filelist \files\bwave\files.bbs 7 /7bit
rafile filelist \files\crack\files.bbs 8 /7bit
rafile filelist \files\tools\files.bbs 9 /7bit
rafile filelist \files\arj\files.bbs 10 /7bit
rafile filelist \files\fd\files.bbs 11 /7bit
rafile filelist \files\fossil\files.bbs 12 /7bit
rafile filelist \files\radoor\files.bbs 13 /7bit
rafile filelist \files\bbs\files.bbs 14 /7bit
rafile filelist \files\gif\files.bbs 15 /7bit
rafile filelist \files\media\files.bbs 16 /7bit
rafile filelist \files\game\files.bbs 17 /7bit
rafile filelist \files\inets\files.bbs 18 /7bit
rafile filelist \files\drive\files.bbs 19 /7bit
rafile filelist \files\ccos\files.bbs 20 /7bit
rafile filelist \files\htmledit\files.bbs 21 /7bit
rafile filelist \files\sea\files.bbs 22 /7bit
rafile filelist \files\edit\files.bbs 23 /7bit
rafile filelist \files\bbstools\files.bbs 24 /7bit
rem rafile filelist filesdir.asc /d1 /7bit /b1.txt /f2.txt
rem copy filesdir.asc \bbs\gecho /Y
rem cd\bbs\gecho
rem mbutil post filesdir.asc #63 -Subject "╠∞╠├╫▄╒╛╨┬╜°╚φ╝■▒¿╕µ" -Origin 1 -Echo
:test
CD\BBS\ra
RAUSER -P
RAUSER -S
RAUSER -D90 -M20
RAUSER -D15 -M5
RAMSG INDEX -DELETE -RECOVER
RAMSG LINK -CLEAN
RAMSG PACK -OVERWRITE -RENUMBER -Purge -Delete
cd\bbs\ra\door\chkuser
chkuser -pack
chkuser -fix
chkuser
rem CD\BBS\RAUSM
rem RAUSM > NUL
rem cd\bbs\ra\door\accuser
rem accuser
rem cd\bbs\ra\door\vqbank
rem bankmail.exe
cd\bbs\gecho
gecho scan pack toss import -force
goto loop
:RUNGECHO
COPY \BBS\INBOUND\*.* \BBS\MSG /Y
rem cd\bbs\ra\door\vqbank
rem bankmail.exe
cd\bbs\gecho
gecho scan pack toss import -force
goto loop
:wait
if exist \BBS\RA\rawait.sem goto wait
goto loop
:fossilerr
echo.
echo ADF not installed!
echo.
goto done
:modemerr
echo.
echo The modem does not respond correctly!
echo.
goto done
:modemdead
echo.
echo The modem seems completely dead!
echo.
goto done
:nospace
echo.
echo Out of diskspace!
echo.
goto done
:fatal
echo.
echo FATAL error reported by InterMail!
echo.
:done
:end