home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 9 / 1995-08_Disc_9.iso / void / instvoid.bat < prev    next >
DOS Batch File  |  1995-06-06  |  3KB  |  170 lines

  1. @echo off
  2. cls
  3. @echo             ╔══════════════════════════════════╗
  4. @echo             ║  Please press the letter of the  ║
  5. @echo             ║     HARD DRIVE to install to     ║
  6. @echo             ║  (C-Z are valid drive choices)   ║
  7. @echo             ╚══════════════════════════════════╝
  8. @echo .
  9. @echo      Enter your selection [default=C]:
  10. choice /c:cdefghijklmnopqrstuvwxyz /n
  11. if errorlevel 24 goto dos24
  12. if errorlevel 23 goto dos23
  13. if errorlevel 22 goto dos22
  14. if errorlevel 21 goto dos21
  15. if errorlevel 20 goto dos20
  16. if errorlevel 19 goto dos19
  17. if errorlevel 18 goto dos18
  18. if errorlevel 17 goto dos17
  19. if errorlevel 16 goto dos16
  20. if errorlevel 15 goto dos15
  21. if errorlevel 14 goto dos14
  22. if errorlevel 13 goto dos13
  23. if errorlevel 12 goto dos12
  24. if errorlevel 11 goto dos11
  25. if errorlevel 10 goto dos10
  26. if errorlevel 9 goto dos9
  27. if errorlevel 8 goto dos8
  28. if errorlevel 7 goto dos7
  29. if errorlevel 6 goto dos6
  30. if errorlevel 5 goto dos5
  31. if errorlevel 4 goto dos4
  32. if errorlevel 3 goto dos3
  33. if errorlevel 2 goto dos2
  34. if errorlevel 1 goto dos1
  35.  
  36. :dos24
  37. SET %y=z:
  38. goto pcg
  39.  
  40. :dos23
  41. SET %y=y:
  42. goto pcg
  43.  
  44. :dos22
  45. SET %y=x:
  46. goto pcg
  47.  
  48. :dos21
  49. SET %y=w:
  50. goto pcg
  51.  
  52. :dos20
  53. SET %y=v:
  54. goto pcg
  55.  
  56. :dos19
  57. SET %y=u:
  58. goto pcg
  59.  
  60. :dos18
  61. SET %y=t:
  62. goto pcg
  63.  
  64. :dos17
  65. SET %y=s:
  66. goto pcg
  67.  
  68. :dos16
  69. SET %y=r:
  70. goto pcg
  71.  
  72. :dos15
  73. SET %y=q:
  74. goto pcg
  75.  
  76. :dos14
  77. SET %y=p:
  78. goto pcg
  79.  
  80. :dos13
  81. SET %y=o:
  82. goto pcg
  83.  
  84. :dos12
  85. SET %y=n:
  86. goto pcg
  87.  
  88. :dos11
  89. SET %y=m:
  90. goto pcg
  91.  
  92. :dos10
  93. SET %y=l:
  94. goto pcg
  95.  
  96. :dos9
  97. SET %y=k:
  98. goto pcg
  99.  
  100. :dos8
  101. SET %y=j:
  102. goto pcg
  103.  
  104. :dos7
  105. SET %y=i:
  106. goto pcg
  107.  
  108. :dos6
  109. SET %y=h:
  110. goto pcg
  111.  
  112. :dos5
  113. SET %y=g:
  114. goto pcg
  115.  
  116. :dos4
  117. SET %y=f:
  118. goto pcg
  119.  
  120. :dos3
  121. SET %y=e:
  122. goto pcg
  123.  
  124. :dos2
  125. SET %y=d:
  126. goto pcg
  127.  
  128. :dos1
  129. SET %y=c:
  130. goto pcg
  131.  
  132. :pcg
  133. @echo Install to %y%\VOID
  134. choice
  135. if errorlevel 2 goto inst2
  136. if errorlevel 1 goto inst1
  137.  
  138. :inst1
  139. cd\
  140. md %y%\VOID
  141. XCOPY %x%\VOID\*.*  %y%\VOID 
  142. CLS
  143. @echo    ╔════════════════════════════════╗
  144. @echo    ║  To play, enter the directory  ║
  145. @echo    ║  %y%\VOID on your HARD DRIVE    ║
  146. @echo    ║  and type VOIDDEMO to start    ║
  147. @echo    ║  the game.                     ║
  148. @echo    ╚════════════════════════════════╝
  149. @echo .
  150. pause
  151. %x%
  152. cd\
  153. goto end
  154.  
  155. :inst2
  156. cls
  157. @echo      ╔════════════════════════════════════════════════════════════╗
  158. @echo      ║  If you wish to install Void Pirates to a directory other  ║
  159. @echo      ║  than the default, create a directory on your hard drive,  ║
  160. @echo      ║  go to the \VOID directory on our CD and copy all of       ║
  161. @echo      ║  the files to the directory you prefer. To play the game,  ║
  162. @echo      ║  go to the directory you install to and type VOIDDEMO.     ║
  163. @echo      ╚════════════════════════════════════════════════════════════╝
  164. echo .
  165. pause
  166. CD\
  167. goto end
  168.  
  169. :end
  170.