home *** CD-ROM | disk | FTP | other *** search
/ Software Club 210: Light Red / Club_Software_210_Light_Red_Micro_Star_1997.iso / menu2.bat < prev    next >
DOS Batch File  |  1996-05-09  |  498b  |  19 lines

  1. echo off
  2. cls
  3. rem This is a basic shell for the launcher program.  The launcher.exe program
  4. rem generates the _launch.bat file, which executes the desired program;
  5. rem this batch file repeatedly calls the launcher.exe program until the
  6. rem user desires the usual exit.
  7. if exist c:\_ylaunch.bat del c:\_ylaunch.bat
  8. :start
  9. launcher.exe spam
  10. rem choice
  11. if errorlevel 1 goto runProgram
  12. if errorlevel 0 goto end
  13. :runProgram
  14. call c:\_ylaunch.bat
  15. rem del c:\_ylaunch.bat
  16. goto start
  17. :end
  18.  
  19.