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

  1. @echo off
  2. cls
  3. @echo      ╔══════════════════════════════════╗
  4. @echo      ║  Please type the letter of the   ║
  5. @echo      ║   HARD DRIVE you installed 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 off
  134. @echo  ╔═══════════════════════════╗
  135. @echo  ║      Important Note!      ║
  136. @echo  ║                           ║
  137. @echo  ║  You are about to run the ║ 
  138. @echo  ║  Space Quest 6 demo.      ║
  139. @echo  ║  Please make sure you've  ║
  140. @echo  ║  selected the proper      ║
  141. @echo  ║  sound card options.      ║
  142. @echo  ║                           ║
  143. @echo  ║  If you didn't select the ║
  144. @echo  ║  proper sound options,    ║
  145. @echo  ║  you may encounter a      ║
  146. @echo  ║  "stack overflow". You    ║
  147. @echo  ║  can rerun the install    ║
  148. @echo  ║  if you'd like to change  ║
  149. @echo  ║  the sound options. If    ║
  150. @echo  ║  all else fails, you can  ║
  151. @echo  ║  choose PC Speaker.       ║
  152. @echo  ╚═══════════════════════════╜
  153. @echo .
  154. pause
  155. cls
  156. @echo off
  157. @echo   ╔═══════════════════════════════╗
  158. @echo   ║  Did you install the game to  ║
  159. @echo   ║  the default directory        ║
  160. @echo   ║  %y%\SIERRA\SQ6DEMO? [Y,N]     ║
  161. @echo   ╚═══════════════════════════════╝
  162. choice /n
  163. if errorlevel 2 goto manual
  164. if errorlevel 1 goto hd
  165.  
  166. :hd
  167. %y%
  168. cd\SIERRA
  169. CALL SQ6DEMO.BAT
  170. @echo .
  171. pause
  172. %x%
  173. CD\
  174. goto end
  175.  
  176. :manual
  177. @echo off
  178. cls
  179. @echo      ╔══════════════════════════════════════════════════════╗
  180. @echo      ║  If you installed Space Quest 6 to a directory other ║
  181. @echo      ║  than the %y%SIERRA\SQ6DEMO default directory, exit   ║
  182. @echo      ║  our CD, access the directory you installed to and   ║
  183. @echo      ║  type SQ6DEMO.                                       ║
  184. @echo      ╚══════════════════════════════════════════════════════╝
  185. echo .
  186. pause
  187. %x%
  188. CD\
  189. :end
  190.