home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 14 / cdrt14.iso / pc / warrrun.bat < prev    next >
DOS Batch File  |  1995-06-13  |  3KB  |  217 lines

  1. @echo off
  2. REM JGP ;)
  3.  
  4. :QUEST1
  5. echo.
  6. echo Did you install Warriors to the default directory (C:\WAR)?
  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 \WAR ?
  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 Warriors was installed and then type: WAR
  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 Warriors
  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 \WAR
  68. call WAR
  69. goto switch
  70.  
  71. :dos22
  72. y:
  73. cd \WAR
  74. call WAR
  75. goto switch
  76.  
  77. :dos21
  78. x:
  79. cd \WAR
  80. call WAR
  81. goto switch
  82.  
  83. :dos20
  84. w:
  85. cd \WAR
  86. call WAR
  87. goto switch
  88.  
  89. :dos19
  90. v:
  91. cd \WAR
  92. call WAR
  93. goto switch
  94.  
  95. :dos18
  96. u:
  97. cd \WAR
  98. call WAR
  99. goto switch
  100.  
  101. :dos17
  102. t:
  103. cd \WAR
  104. call WAR
  105. goto switch
  106.  
  107. :dos16
  108. s:
  109. cd \WAR
  110. call WAR
  111. goto switch
  112.  
  113. :dos15
  114. r:
  115. cd \WAR
  116. call WAR
  117. goto switch
  118.  
  119. :dos14
  120. q:
  121. cd \WAR
  122. call WAR
  123. goto switch
  124.  
  125. :dos13
  126. p:
  127. cd \WAR
  128. call WAR
  129. goto switch
  130.  
  131. :dos12
  132. o:
  133. cd \WAR
  134. call WAR
  135. goto switch
  136.  
  137. :dos11
  138. n:
  139. cd \WAR
  140. call WAR
  141. goto switch
  142.  
  143. :dos10
  144. m:
  145. cd \WAR
  146. call WAR
  147. goto switch
  148.  
  149. :dos9
  150. l:
  151. cd \WAR
  152. call WAR
  153. goto switch
  154.  
  155. :dos8
  156. k:
  157. cd \WAR
  158. call WAR
  159. goto switch
  160.  
  161. :dos7
  162. j:
  163. cd \WAR
  164. call WAR
  165. goto switch
  166.  
  167. :dos6
  168. i:
  169. cd \WAR
  170. call WAR
  171. goto switch
  172.  
  173. :dos5
  174. h:
  175. cd \WAR
  176. call WAR
  177. goto switch
  178.  
  179. :dos4
  180. g:
  181. cd \WAR
  182. call WAR
  183. goto switch
  184.  
  185. :dos3
  186. f:
  187. cd \WAR
  188. call WAR
  189. goto switch
  190.  
  191. :dos2
  192. e:
  193. cd \WAR
  194. call WAR
  195. goto switch
  196.  
  197. :dos1
  198. d:
  199. cd \WAR
  200. call WAR
  201. goto switch
  202.  
  203. :C
  204. C:
  205. cd \WAR
  206. call WAR
  207. goto switch
  208.  
  209.  
  210. :switch
  211. pause
  212. %x%
  213. goto end
  214.  
  215. :end
  216.  
  217.