home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 12 / CD-ROM_Today_-_The_Disc_12_June_1995.iso / pc / tsrun.bat < prev   
DOS Batch File  |  1995-04-11  |  3KB  |  217 lines

  1. @echo off
  2. REM JGP ;)
  3.  
  4. :QUEST1
  5. echo.
  6. echo Did you install Thunderscape to the default directory (C:\THUNDER)?
  7. choice /c:YN
  8. if errorlevel 2 goto QUEST2
  9. if errorlevel 1 goto C
  10.  
  11. :QUEST2
  12. echo.
  13. echo Did you choose a drive other than C?
  14. choice /c:YN
  15. if errorlevel 2 goto sorry
  16. if errorlevel 1 goto QUEST3
  17.  
  18. :QUEST3
  19. echo.
  20. echo Did you choose a path other than \THUNDER ?
  21. choice /c:YN
  22. if errorlevel 2 goto yes
  23. if errorlevel 1 goto sorry
  24.  
  25.  
  26. :sorry
  27. cls
  28. echo. 
  29. echo In order to start the demo, you must 
  30. echo change to the directory in which 
  31. echo Thunderscape was installed and then type: RUN
  32. echo.
  33. pause
  34. goto end
  35.  
  36. :yes
  37. @echo Please enter the letter corresponding to
  38. @echo hard drive on which you installed Thunderscape
  39. @echo (D through Z are valid drive choices)
  40. choice /c:defghijklmnopqrstuvwxyz /n
  41. if errorlevel 23 goto dos23
  42. if errorlevel 22 goto dos22
  43. if errorlevel 21 goto dos21
  44. if errorlevel 20 goto dos20
  45. if errorlevel 19 goto dos19
  46. if errorlevel 18 goto dos18
  47. if errorlevel 17 goto dos17
  48. if errorlevel 16 goto dos16
  49. if errorlevel 15 goto dos15
  50. if errorlevel 14 goto dos14
  51. if errorlevel 13 goto dos13
  52. if errorlevel 12 goto dos12
  53. if errorlevel 11 goto dos11
  54. if errorlevel 10 goto dos10
  55. if errorlevel 9 goto dos9
  56. if errorlevel 8 goto dos8
  57. if errorlevel 7 goto dos7
  58. if errorlevel 6 goto dos6
  59. if errorlevel 5 goto dos5
  60. if errorlevel 4 goto dos4
  61. if errorlevel 3 goto dos3
  62. if errorlevel 2 goto dos2
  63. if errorlevel 1 goto dos1
  64.  
  65. :dos23
  66. z:
  67. cd \THUNDER
  68. call run
  69. goto switch
  70.  
  71. :dos22
  72. y:
  73. cd \THUNDER
  74. call run
  75. goto switch
  76.  
  77. :dos21
  78. x:
  79. cd \THUNDER
  80. call run
  81. goto switch
  82.  
  83. :dos20
  84. w:
  85. cd \THUNDER
  86. call run
  87. goto switch
  88.  
  89. :dos19
  90. v:
  91. cd \THUNDER
  92. call run
  93. goto switch
  94.  
  95. :dos18
  96. u:
  97. cd \THUNDER
  98. call run
  99. goto switch
  100.  
  101. :dos17
  102. t:
  103. cd \THUNDER
  104. call run
  105. goto switch
  106.  
  107. :dos16
  108. s:
  109. cd \THUNDER
  110. call run
  111. goto switch
  112.  
  113. :dos15
  114. r:
  115. cd \THUNDER
  116. call run
  117. goto switch
  118.  
  119. :dos14
  120. q:
  121. cd \THUNDER
  122. call run
  123. goto switch
  124.  
  125. :dos13
  126. p:
  127. cd \THUNDER
  128. call run
  129. goto switch
  130.  
  131. :dos12
  132. o:
  133. cd \THUNDER
  134. call run
  135. goto switch
  136.  
  137. :dos11
  138. n:
  139. cd \THUNDER
  140. call run
  141. goto switch
  142.  
  143. :dos10
  144. m:
  145. cd \THUNDER
  146. call run
  147. goto switch
  148.  
  149. :dos9
  150. l:
  151. cd \THUNDER
  152. call run
  153. goto switch
  154.  
  155. :dos8
  156. k:
  157. cd \THUNDER
  158. call run
  159. goto switch
  160.  
  161. :dos7
  162. j:
  163. cd \THUNDER
  164. call run
  165. goto switch
  166.  
  167. :dos6
  168. i:
  169. cd \THUNDER
  170. call run
  171. goto switch
  172.  
  173. :dos5
  174. h:
  175. cd \THUNDER
  176. call run
  177. goto switch
  178.  
  179. :dos4
  180. g:
  181. cd \THUNDER
  182. call run
  183. goto switch
  184.  
  185. :dos3
  186. f:
  187. cd \THUNDER
  188. call run
  189. goto switch
  190.  
  191. :dos2
  192. e:
  193. cd \THUNDER
  194. call run
  195. goto switch
  196.  
  197. :dos1
  198. d:
  199. cd \THUNDER
  200. call run
  201. goto switch
  202.  
  203. :C
  204. C:
  205. cd \THUNDER
  206. call run
  207. goto switch
  208.  
  209.  
  210. :switch
  211. pause
  212. %x%
  213. goto end
  214.  
  215. :end
  216.  
  217.