home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
515DISK2.ZIP
/
BIN515_1.ZIP
/
APPEL.BAT
next >
Wrap
DOS Batch File
|
1993-02-04
|
1KB
|
51 lines
ESS 1
ESS 2
echo off
cd \fbb
break off
echo Program is started, use ^C to interrupt within 3 seconds
sleep 3
serv %1
if errorlevel 2 goto direct
if errorlevel 1 goto suite
goto fin
:suite
cls
echo Sorting HROUTE.SYS...
copy \fbb\system\hroute.sys temp.$$$
type temp.$$$ | sort | find /v "# " > \fbb\system\hroute.sys
del temp.$$$
echo
echo Backup of important files...
copy \fbb\system\dirmes.sys \fbb\backup\dirmes.s1
copy \fbb\system\inf.sys \fbb\backup\inf.s1
echo Cleaning up message-files...
del epurmess.res
epurmess
rem ------- The next line should be deleted if you are not using WP ------
epurwp 60
cd \fbb\system
MAINTINF 3 /a
COPY C:\FBB\SYSTEM\INF.NEW C:\FBB\SYSTEM\INF.SYS
cd \fbb
del c:\fbb\system\dirmes.new
:direct
cd \fbb\system
tlabel
cd \fbb\system\sat
if not exist amsat.txt goto appel
satupdat amsat.txt /n > satupdat.res
satupdat amsat.txt >> satupdat.res
del amsat.txt
:appel
cd \fbb
echo Program is started, use ^C to interrupt within 3 seconds
sleep 3
serv -t
if errorlevel 2 goto direct
if errorlevel 1 goto suite
:fin
echo Program is terminated..
break on
Echo on