home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss.bat next >
DOS Batch File  |  1993-10-06  |  182b  |  14 lines

  1. @echo off
  2. SET OLDPATH=%PATH%
  3. set PATH=\;\boss;%PATH%
  4. :loop
  5. cd \
  6. main.exe START %1
  7. if ERRORLEVEL 126 goto exit
  8. pause
  9. goto loop
  10. :exit
  11. cd \
  12. set PATH=%OLDPATH%
  13. set OLDPATH=
  14.