home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / GAMES / HORSE.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-09-01  |  3KB  |  94 lines

  1. ECHO OFF
  2. CLS
  3. IF %1. == . GOTO AEND
  4. IF %2. == . GOTO AEND
  5. IF NOT EXIST DPIDPI.DPI ECHO Set prompt to floppy....
  6. IF NOT EXIST DPIDPI.DPI GOTO AEND
  7.  
  8. ECHO ╔═════════════════════════════════════════════════════════════════╗
  9. ECHO ╠Format = INSTALL  {target hard drive:}  {space} {\subdirectory}╣
  10. ECHO ╚═════════════════════════════════════════════════════════════════╝
  11. ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
  12. ECHO -
  13. ECHO - Target hard drive ---- %1%2
  14. ECHO ╔═════════════════════════════════════════════════════════════════╗
  15. ECHO ║ If "DOC" files exists on your diskette,  they contain important ║
  16. ECHO ║ infomation that you will want to read.  Insert this diskette in ║
  17. ECHO ║ a floppy drive with the printer on and type:    PRINT *.DOC     ║
  18. ECHO ╚═════════════════════════════════════════════════════════════════╝
  19.  
  20. PAUSE
  21.  
  22. ECHO - PRESS [Enter]......
  23. PRINT /T
  24. CLS
  25. SET BUFFERS=28
  26. SET FILES=24
  27.  
  28. ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
  29. ECHO ▐                     DO NOT COPY FILES INTO SUB-DIRECTORY                   ▐
  30. ECHO ▐ Resident software should be turned off!  E.g., Sidekick, Networks, Windows ▐
  31. ECHO ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐
  32. ECHO - Please exit Windows to the DOS prompt....
  33. ECHO -
  34. pause
  35. ECHO -
  36. ECHO - Your Environment is as follows.
  37. VER
  38. SET
  39. PAUSE
  40.  
  41. CLS
  42. ECHO - Checking hard drive %1
  43. CHKDSK %1
  44. ECHO ╔══════════════════════════════════════════════════════════════════════╗
  45. ECHO ║ If any of the following conditions exist it is recommended that you  ║
  46. ECHO ║ FORMAT  your  fixed  drive  before  attempting  to load these discs. ║
  47. ECHO ║ 1) Allocation errors  2)Lost........  3)Less than 2 megabytes avail. ║
  48. ECHO ║ Correcting the above conditions will insure  error free performance. ║
  49. ECHO ╚══════════════════════════════════════════════════════════════════════╝
  50. ECHO 
  51. PAUSE
  52.  
  53. CLS
  54.  
  55. IF %1. == . GOTO AEND
  56.  
  57. IF EXIST %1\*.* GOTO KG
  58. ECHO - Hard drive %1 does not exist....
  59. GOTO AEND
  60.  
  61. :KG
  62. IF NOT EXIST %1%2\*.* GOTO KG1
  63. ECHO ╔═══════════════════════════════════════════════════════════════════╗
  64. ECHO ╠If you overwrite the Register...please erase *.RCE, *.BET & *.TTT╣
  65. ECHO ╚═══════════════════════════════════════════════════════════════════╝
  66. ECHO -
  67. ECHO - Answer "Y" to Overwrite?.......
  68.  
  69. :KG1
  70. IF NOT EXIST %1%2\*.* MD %1%2
  71. IF EXIST %1%2\*.SIM ERASE %1%2\*.SIM
  72.  
  73. ECHO -
  74. RACEMAIN /e %1%2
  75.  
  76. COPY RACES.BAT %1%2
  77.  
  78. %1
  79. CD %2
  80. VOL > RACE.VER
  81. CLS
  82. ECHO - Install complete.....
  83. PAUSE
  84.  
  85. TRACK
  86.  
  87. :AEND
  88. ECHO ╔═══════════════════════════════════════════════════════════════╗
  89. ECHO ╠Format = INSTALL {target hard drive:} {space} {\subdirectory}╣
  90. ECHO ╚═══════════════════════════════════════════════════════════════╝
  91. ECHO - E.g., INSTALL {space} C: {space} \RACE {enter}
  92. ECHO Did not install correctly.....
  93. BREAK ON
  94.