home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / xbbsos2.zip / bbsrun.cmd < prev    next >
OS/2 REXX Batch file  |  1993-06-01  |  595b  |  19 lines

  1. rem
  2. rem this command file should go on your PATH.
  3. rem
  4. rem the BBS calls it to run other programs, letting you set their
  5. rem default environment before they're run.  You can therefore run
  6. rem programs that aren't on your path using this.
  7. rem
  8. rem the reasons this is necessary are rather complex; suffice it
  9. rem to say that when run completely disconnected programs don't
  10. rem inherit file handles _or_ the default directory of the running
  11. rem program.  this avoids you having to put the BBS directory on
  12. rem the PATH.
  13. rem
  14. SETLOCAL
  15. E:
  16. CD\XBBS2
  17. %1 %2 %3 %4 %5 %6 %7 %8 %9
  18. ENDLOCAL
  19.