home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
r
/
robo1_08.zip
/
FDROBO.B_T
< prev
next >
Wrap
Text File
|
1992-08-30
|
3KB
|
113 lines
@ECHO OFF
set NODE=%1
if "%1"=="" set NODE=1
REM
REM This Batch file is an example of how you would run
REM Robo-Board with a mailer such as FrontDoor or
REM BinkleyTerm. See ECHO MAIL in the Robo-Board documents
REM for more information.
REM
REM This batch file assumes you are passing a node number
REM to it via the command line. If you do not pass a node
REM number to your ROBO batch then the node number is
REM defaulted to 1.
REM
REM If you run a 1 line bbs then feel free to remove all
REM occurences of the text and dos variable -NODE=%NODE%.
REM
REM See your dos manual for more information on variables.
REM
@ECHO OFF
set FD=c:\fd\
:TOP
cd\robobbs
if exist CHK_MAIL.NOW del CHK_MAIL.NOW
cd\fd
FD
REM cd\bt
REM BT
cd\robobbs
REM
REM The dos errorlevels listed below are only examples,
REM these must be defined by you in your mailers config
REM program. All mailers are well documented so setting
REM up these parameters should not be a problem.
REM
if errorlevel 60 ROBOGR -baud=38400 -NODE=1 %1
if errorlevel 59 ROBOGR -baud=19200 -NODE=1 %1
if errorlevel 58 ROBOGR -baud=16800 -NODE=1 %1
if errorlevel 57 ROBOGR -baud=14400 -NODE=1 %1
if errorlevel 56 ROBOGR -baud=12000 -NODE=1 %1
if errorlevel 55 ROBOGR -baud=9600 -NODE=1 %1
if errorlevel 54 ROBOGR -baud=7200 -NODE=1 %1
if errorlevel 53 ROBOGR -baud=4800 -NODE=1 %1
if errorlevel 52 ROBOGR -baud=2400 -NODE=1 %1
if errorlevel 51 ROBOGR -baud=1200 -NODE=1 %1
if errorlevel 50 ROBOGR -local -NODE=1 %1
if errorlevel 40 goto MAIL
if errorlevel 10 goto DONE
if errorlevel 1 goto ERROR
REM
REM The file CHK_Mail now is created by Robo-Board if a
REM user enters one or more ECHO MAIL messages. With a
REM dos if exist statement you can branch to a mail
REM scan toss program. If you note earlier in this file
REM CHK_MAIL.NOW is deleted before your mailer or Robo-
REM get the chance to run. This prevents scanning when
REM no mail has been tossed. See ECHO MAIL in the Robo-
REM Board documents.
REM
if exist CHK_MAIL.NOW goto MAIL
goto TOP
:MAIL
REM
REM This where you use your favorite NET/ECHO mail tosser
REM to bring ECHO mail messages into your Robo-Board base.
REM as of yet Robo-Board does not include a program to do
REM do this. There are a number of good programs that will
REM do this well. IMAIL, by Fabiano Fabris has been tested
REM and found to work well with Robo-Board. Mail scanning
REM and tossing programs that are compatible with the
REM Hudson style message base are:
REM Gecho By Gerard van der Land
REM TosScan By Joaquim Homrighausen
REM IMAIL By Fabiano Fabris.
REM FMAIL By Folkert J. Wijnstra
REM
REM NOTE: Only IMAIL and FMAIL have been tested. If you get
REM any of the other mail utilities to work please
REM send a copy of your BATCH file with your registration.
REM
cd\fmail
FMAIL toss
FMAIL scan
goto TOP
:ERROR
echo. >> ROBO%node%.LOG
echo ROBOBBS.EXE HAD A FATAL ERROR! >> ROBO%node%.LOG
echo. >> ROBO%node%.LOG
echo.
echo. ROBOBBS.EXE HAD A FATAL ERROR!
echo.
:DONE
cd\fd
echo.
echo ROBO-BOARD Exited.