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

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