home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4 / 1995-03_Disc_4.iso / wog / instwog.bat < prev    next >
DOS Batch File  |  1994-12-28  |  2KB  |  181 lines

  1. @echo off
  2. cls
  3. echo Please press the letter corresponding to
  4. echo your CD-ROM drive (D, E, F, and G are
  5. echo valid drive choices)
  6. choice /c:defg /n
  7. if errorlevel 4 goto inst4
  8. if errorlevel 3 goto inst3
  9. if errorlevel 2 goto inst2
  10. if errorlevel 1 goto inst1
  11.  
  12. :inst1
  13. echo Please press the letter corresponding to 
  14. echo your hard drive (C, D, E, F and G are 
  15. echo valid drive choices)
  16. choice /c:cdefg /n
  17. if errorlevel 5 goto inst10
  18. if errorlevel 4 goto inst9
  19. if errorlevel 3 goto inst8
  20. if errorlevel 2 goto inst7
  21. if errorlevel 1 goto inst6
  22.  
  23. :inst6
  24.  
  25. INSTALL D C
  26.  
  27. c:
  28. goto end
  29.  
  30. :inst7
  31. INSTALL D D
  32.  
  33. d:
  34. goto end
  35.  
  36. :inst8
  37. INSTALL D E
  38.  
  39. e:
  40. goto end
  41.  
  42. :inst9
  43. INSTALL D F
  44.  
  45. f:
  46. goto end
  47.  
  48. :inst10
  49. INSTALL D G
  50.  
  51. g:
  52. goto end
  53.  
  54. :inst2
  55. echo Please press the letter corresponding to
  56. echo your hard drive (C, D, E, F and G are 
  57. echo valid choices)
  58. choice /c:cdefg /n
  59. if errorlevel 5 goto inst10
  60. if errorlevel 4 goto inst9
  61. if errorlevel 3 goto inst8
  62. if errorlevel 2 goto inst7
  63. if errorlevel 1 goto inst6
  64.  
  65. :inst6
  66.  
  67. INSTALL E C
  68.  
  69. c:
  70. goto end
  71.  
  72. :inst7
  73. INSTALL E D
  74.  
  75. d:
  76. goto end
  77.  
  78. :inst8
  79. INSTALL E E
  80.  
  81. e:
  82. goto end
  83.  
  84. :inst9
  85. INSTALL E F
  86.  
  87. f:
  88. goto end
  89.  
  90. :inst10
  91. INSTALL E G
  92.  
  93. g:
  94. goto end
  95.  
  96. :inst3
  97. echo Please enter the letter corresponding
  98. echo to your hard drive (C, D, E, F and G
  99. echo are valid choices)
  100. choices /c:cdefg /n
  101. if errorlevel 5 goto inst10
  102. if errorlevel 4 goto inst9
  103. if errorlevel 3 goto inst8
  104. if errorlevel 2 goto inst7
  105. if errorlevel 1 goto inst6
  106.  
  107. :inst6
  108.  
  109. INSTALL F C
  110.  
  111. c:
  112. goto end
  113.  
  114. :inst7
  115. INSTALL F D
  116.  
  117. d:
  118. goto end
  119.  
  120. :inst8
  121. INSTALL F E
  122.  
  123. e:
  124. goto end
  125.  
  126. :inst9
  127. INSTALL F F
  128.  
  129. f:
  130. goto end
  131.  
  132. :inst10
  133. INSTALL F G
  134.  
  135. g:
  136. goto end
  137.  
  138. :inst4
  139. echo Please enter the letter corresponding
  140. echo to your hard drive (C, D, E, F and G
  141. echo are valid choices)
  142. choices /c:cdefg /n
  143. if errorlevel 5 goto inst10
  144. if errorlevel 4 goto inst9
  145. if errorlevel 3 goto inst8
  146. if errorlevel 2 goto inst7
  147. if errorlevel 1 goto inst6
  148.  
  149. :inst6
  150.  
  151. INSTALL G C
  152.  
  153. c:
  154. goto end
  155.  
  156. :inst7
  157. INSTALL G D
  158.  
  159. d:
  160. goto end
  161.  
  162. :inst8
  163. INSTALL G E
  164.  
  165. e:
  166. goto end
  167.  
  168. :inst9
  169. INSTALL G F
  170.  
  171. f:
  172. goto end
  173.  
  174. :inst10
  175. INSTALL G G
  176.  
  177. g:
  178. goto end
  179.  
  180. :end
  181.