home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 5 / ClassicFond05_nopass.iso / ARCADE / Z-FORCE.RAR / ZFSHR.BAT < prev   
DOS Batch File  |  1995-02-26  |  1KB  |  50 lines

  1.  
  2. @echo off
  3. echo And yet another AWESOME game
  4. echo brought to you by ZoNeSoFt!
  5. echo 1994, 1995 ZoneSoft (c)
  6. if not exist data\nul goto nosubdir
  7. if exist memfail del memfail
  8. if exist pend del pend >nul
  9. memc
  10. if exist memfail goto memfailexit
  11. :uexist
  12. :normalmenu
  13. if exist pend del pend >nul
  14. pnocomp f pdata c %1 %2 %3 %4 %5 >p.out
  15. if errorlevel 1 goto errorexit
  16. if exist pend goto gamefin
  17. goto gamefin
  18. :errorexit
  19. if exist vid.com vid
  20. if not exist vid.com mode co80 >nul
  21. if exist memfail goto memfailexit
  22. echo ----
  23. echo Program errors have occured.  
  24. echo Save the file p.out which has the error information for us.
  25. echo ----
  26. type p.out
  27. goto realexit
  28. :memfailexit
  29. echo ----
  30. echo Error: Do to insufficient or improperly configured memory
  31. echo you cannot run the game. Please refer to the memory report
  32. echo below to get more info about what memory you need more of.
  33. echo ----
  34. copy memfail con
  35. goto realexit
  36. :nosubdir
  37. echo ----
  38. echo The DATA sub-directory could not be found. Please make sure
  39. echo that you have properly installed the game by using the '-D'
  40. echo command line switch with PKUNZIP to create the necessary
  41. echo sub-directory.
  42. echo ----
  43. goto realexit
  44. :exit  
  45. if exist vid.com vid
  46. if not exist vid.com mode co80 >nul
  47. :gamefin
  48. :realexit
  49.  
  50.