home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / acb153b1.zip / acrobat.zi_ / startbbs.cmd < prev    next >
OS/2 REXX Batch file  |  1997-01-10  |  762b  |  29 lines

  1. @ECHO OFF
  2. REM ┌─────────────────────────────────────────────────────────────────────┐
  3. REM │ Start AcroBat/2 in answering mode  ACROBAT comport nodenumber       │
  4. REM └─────────────────────────────────────────────────────────────────────┘
  5. REM
  6. REM IMPORTANT: Don't run two bbs'ses (local and real online) at the same
  7. REM nodenumber... This won't work properly :)
  8. REM Don't change this batchfile unless the nodenumber and the comport!!!
  9. REM This example starts bbs at comport 2 on node 1
  10. REM Also takes a safety backup
  11.  
  12. CLS
  13. COPY C:\ACROBAT\US*.DAT C:\ACROBAT\BACKUP\US*.BAK
  14.  
  15. :LOOP
  16.  
  17. c:
  18. CD\ACROBAT
  19. ACROBAT 2 1
  20.  
  21. IF ERRORLEVEL 255 GOTO FAULT
  22. IF ERRORLEVEL 1 GOTO LOOP
  23. IF ERRORLEVEL 0 GOTO END
  24.  
  25. :FAULT
  26. ECHO Abnormal program termination
  27.  
  28. :END
  29.