home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
xbbsos2.zip
/
bbs.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-01-22
|
1KB
|
57 lines
@echo off
rem
rem sample cmd file to invoke XBBS
rem it's recommended that you use a .CMD file to run XBBS, and that
rem you set AUTOFAIL=YES in CONFIG.SYS so that, if the BBS crashes,
rem it'll automatically restart itself.
rem
rem edit this file as required.
rem
rem turn help off
rem
call help off
rem
rem switch to BBS drive and directory
rem
@echo on
E:
CD\XBBS2
rem
rem since you were probably dumb enough to run this without checking
rem the paths set above, I'll check for you...
rem
@echo off
if not exist XBBS3.EXE goto Error
rem
rem make window small for esthetics; it'll minimize later...
rem
mode co80,5
rem
rem we loop here...
rem
:over
rem
rem %1 = number of lines to start up (default 1)
rem %2 = number of lines to skip (default 0)
rem xbbs3 %1 %2
rem
rem following mode statement to turn com2 ns16550afn buffering on
rem
mode com2:19200,n,8,1,buffer=on
rem
xbbs3 2 1
rem
rem set autofail=yes in config.sys and even if the bbs
rem crashes, it comes right back up.
rem
echo Recycling...
rem
rem give us time to hit ^C to stop the cycle...
rem
delay 1
if errorlevel == 255 goto end
goto over
:Error
echo XBBS3.EXE isn't in the default directory. I'm shuttin' down.
:end