home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
FD_PCB.ZIP
/
RUNFD.BAT
< prev
Wrap
DOS Batch File
|
1993-05-26
|
992b
|
42 lines
rem ****************************************************************
rem * Main FrontDoor batchfile used at The Owl's Nest, NL 2:512/39 *
rem ****************************************************************
echo off
:exit
del endpcb
if %FD%!==! PATH %PATH%;C:\FD
if %FD%!==! SET FD=C:\FD
SET PCB=/SWAP
SET DSZPORT=1
if not exist %FD%\FDCOMPNL.NOW goto start
FDNC /F
erase %FD%\FDCOMPNL.NOW
:start
d:
cd \FD
X00 E 1 B,0,38400 T=512 R=1024
:loop
XU CAPTURE
FD
if errorlevel 255 goto mailin
if errorlevel 250 goto bbs
if errorlevel 10 goto done
if errorlevel 1 goto err
goto loop
:mailin
rem Process received mail here, etc.
goto loop
:err
echo.
echo FrontDoor reported error %ERRORLEVEL%
echo.
goto done
:bbs
dobbs0
:done
X00