home *** CD-ROM | disk | FTP | other *** search
/ Interactive Entertainment 12 / EPISODE_12_APR_1995.iso / patch / espat1.exe / EP1.XXX / P.BAT < prev    next >
DOS Batch File  |  1995-01-12  |  1KB  |  68 lines

  1. @echo off
  2. if exist es.exe goto disk_inst
  3.  
  4. if .%1 == .d goto drive_ok
  5. if .%1 == .D goto drive_ok
  6. if .%1 == .e goto drive_ok
  7. if .%1 == .E goto drive_ok
  8. if .%1 == .f goto drive_ok
  9. if .%1 == .F goto drive_ok
  10. if .%1 == .g goto drive_ok
  11. if .%1 == .G goto drive_ok
  12. goto usage
  13. :drive_ok
  14. echo @echo off>es.bat
  15. echo mode co80>>es.bat
  16. echo set ALT_DRIVE=%1:>>es.bat
  17. echo set PREFER_ALT=>>es.bat
  18. echo escd>>es.bat
  19. if exist vol\speech.vol goto complete
  20. echo x>vol\speech.vol
  21. goto complete
  22.  
  23. :usage
  24. echo.
  25. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  26. echo ▒▒ PATCH IS NOT COMPLETE! ▒▒
  27. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  28. echo.
  29. echo Type P followed by the letter of your CD drive.
  30. echo For example, type "P D" if you installed EarthSiege from drive D:
  31. echo.
  32. goto end
  33.  
  34. :disk_inst
  35. del es.exe >nul
  36. echo echo off>es.bat
  37. echo mode co80>>es.bat
  38. echo set ALT_DRIVE=>>es.bat
  39. echo set PREFER_ALT=>>es.bat
  40. echo escd>>es.bat
  41. goto complete
  42.  
  43. :complete
  44. echo.
  45. echo EarthSiege Patch v1.01 INSTALLATION IS COMPLETE.
  46. echo.
  47. echo If you wish to delete the patch files, press 'D'.
  48. echo Otherwise, press any other key to continue.
  49. echo.
  50. getkey
  51. if errorlevel 101 goto read
  52. if errorlevel 100 goto delete
  53. if errorlevel 69  goto read
  54. if errorlevel 68  goto delete
  55. if errorlevel 0   goto read
  56.  
  57. :delete
  58. del espatch1.exe >nul
  59. del ep1.exe >nul
  60. echo Patch ZIP files deleted.
  61. echo.
  62.  
  63. :read
  64. echo Read PATCH.DOC for information concerning this patch.
  65. echo.
  66.  
  67. :end
  68.