home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / configs / ios_exmp / bbs.bat < prev    next >
DOS Batch File  |  1992-06-25  |  1KB  |  78 lines

  1. set PATH f:\bt,f:\bbs,e:\tempus2,f:\bbs\bat,f:\bbs\fd
  2. set BINKLEY f:\bt\
  3. set COMSPEC e:\tomshell\tomshell.prg
  4. set BBS f:\bbs\bbs.prg
  5. set MAILER f:\bt\
  6. set AREAFIX f:\bt\areafix\
  7. set RBUF 16000
  8. set TBUF 128
  9. set verbosity 0
  10. set owrite on
  11. alias bye exit
  12. alias type cat
  13.  
  14. :start
  15. cd f:\bt\
  16. #reset232
  17. #f:\bt\newfont.ttp
  18. bt.ttp
  19.  
  20. if $status > 130 then goto critical
  21. if $status == 90 then goto stwriter
  22. if $status == 80 then goto flash
  23. if $status == 70 then goto ueditor
  24. if $status == 60 then goto fdoor
  25. if $status == 50 then goto sysgen
  26. if $status == 20 then goto packup
  27. if $status == 10 then goto localbbs
  28. if $status == 1 then goto getout
  29. echo ; echo -n "Unknown status code = " ; echo $status
  30. goto stopdead
  31.  
  32. :critical
  33. echo
  34. echo "Critical Failure in BinkleyTerm!"
  35. goto stopdead
  36.  
  37. :getout
  38. echo "Returning to GEM..."
  39. system
  40.  
  41. :localbbs
  42. spawnbbs 0 1 32766
  43. goto start
  44.  
  45. :stwriter
  46. cd a:\
  47. c:\stwriter\stwriter
  48. goto start
  49.  
  50. :flash
  51. cd e:\telecom\flash
  52. flash
  53. goto start
  54.  
  55. :ueditor
  56. cd d:\
  57. ueditor
  58. goto start
  59.  
  60. :fdoor
  61. cd f:\bbs\fd
  62. fidodoor -LO -NAME Bryan Hall -UL 32766 -TL 999
  63. goto start
  64.  
  65. :sysgen
  66. cd f:\bbs\fd
  67. fdsysgen
  68. goto start
  69.  
  70. :packup
  71. cd f:\bt
  72. iosmail -E EXPORT
  73. goto start
  74.  
  75. :stopdead
  76. echo "Please inform Bryan before restarting BBS!" ; echo
  77. echo "Processing Halted..."
  78.