home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 1 / ClassicFond01.iso / arcade / lethal-t.zip / START.BAT < prev    next >
DOS Batch File  |  1993-09-27  |  1KB  |  44 lines

  1. @echo off
  2. if exist pend del pend >nul
  3. :gamefin
  4. copy 3.adl pfirst > nul
  5. :menuloop
  6. if not exist pfirst. goto normalmenu
  7. menu nr 1
  8. if exist p.cmd copy p.cmd oldp.cmd >nul
  9. goto okgo
  10. :normalmenu
  11. menu ns nr 
  12. if exist p.cmd copy p.cmd oldp.cmd >nul
  13. :okgo
  14. if not exist pfirst. goto skipdel
  15. del pfirst. > nul
  16. :skipdel
  17. if not exist p.cmd goto exit
  18. p %1 %2 %3 %4 %5
  19. if errorlevel 1 goto errorexit
  20. if exist pend goto gamefin
  21. goto menuloop
  22. :errorexit
  23. if exist vid.com vid
  24. if not exist vid.com mode co80 >nul
  25. if exist memfail goto memfailexit
  26. echo ...
  27. echo Program Errors have occured.  Please contact Pie in the Sky Software.
  28. echo Save the file p.out which has the error information for us.
  29. type p.out
  30. goto realexit
  31. :memfailexit
  32. echo   Sorry, but you don't have enough available DOS ram
  33. echo   to run the game.  Please read the documentation to
  34. echo   get more info about fixing this problem.
  35. copy memfail con
  36. del memfail
  37. goto realexit
  38. :exit  
  39. if exist pend del pend >nul
  40. if exist vid.com vid
  41. if not exist vid.com mode co80 >nul
  42. :realexit
  43.  
  44.