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

  1. @echo off
  2. cls
  3. @echo             ╔══════════════════════════════════╗
  4. @echo             ║  Please press the letter of the  ║
  5. @echo             ║     HARD DRIVE to install 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  Which would you like to do?
  134. @echo                1. Install Virtual Anus
  135. @echo                2. Run Virtual Anus
  136. @echo                3. E(X)it
  137. choice /c:123x /n 
  138. if errorlevel 4 goto end
  139. if errorlevel 3 goto end
  140. if errorlevel 2 goto runanus
  141. if errorlevel 1 goto instanus
  142.  
  143. :instanus
  144. @echo Install to %y%\V_ANUS
  145. choice
  146. if errorlevel 2 goto inst2
  147. if errorlevel 1 goto inst1
  148.  
  149. :inst1
  150. cd\
  151. md %y%\V_ANUS
  152. cd\ANUS
  153. XCOPY %x%\ANUS\*.*  %y%\V_ANUS 
  154. %y%
  155. CLS
  156. @echo   ╔════════════════════════════════╗
  157. @echo   ║  To  run, enter the directory  ║
  158. @echo   ║  %y%\V_ANUS on your HARD DRIVE  ║
  159. @echo   ║  and type V_ANUS to start the  ║
  160. @echo   ║  game.                         ║
  161. @echo   ╚════════════════════════════════╝
  162. @echo .
  163. pause
  164. %x%
  165. cd\
  166. goto end
  167.  
  168. :inst2
  169. cls
  170. @echo      ╔════════════════════════════════════════════════════════════╗
  171. @echo      ║  If you wish to install Virtual Anus to a directory other  ║
  172. @echo      ║  than the default, create a directory on your hard drive,  ║
  173. @echo      ║  go to the \V_ANUS directory on our CD and copy all of     ║
  174. @echo      ║  the files to the directory you prefer. To run, go to the  ║
  175. @echo      ║  directory you install to and type V_ANUS.                 ║
  176. @echo      ╚════════════════════════════════════════════════════════════╝
  177. echo .
  178. pause
  179. CD\
  180. goto end
  181.  
  182.  
  183. :runanus
  184. @echo off
  185. cls
  186. @echo   ╔════════════════════════════════╗
  187. @echo   ║  Did you install the game      ║
  188. @echo   ║  to the directory %y%\V-ANUS?   ║
  189. @echo   ╚════════════════════════════════╝
  190. choice 
  191. if errorlevel 2 goto manual
  192. if errorlevel 1 goto hd
  193.  
  194. :hd
  195. %y%
  196. cd\V_ANUS
  197. CALL V_ANUS.EXE
  198. @echo .
  199. pause
  200. %x%
  201. CD\
  202. goto end
  203.  
  204. :manual
  205. cls
  206. @echo      ╔════════════════════════════════════════════════╗
  207. @echo      ║  If you installed Virtual Anus to a directory  ║
  208. @echo      ║  other than the %y%\V_ANUS default directory,   ║
  209. @echo      ║  exit our CD, access the directory you         ║
  210. @echo      ║  installed to and type V-ANUS.                 ║
  211. @echo      ╚════════════════════════════════════════════════╝
  212. echo .
  213. pause
  214. %x%
  215. CD\
  216. goto end
  217.  
  218.  
  219.  
  220. :end
  221.