home *** CD-ROM | disk | FTP | other *** search
/ PC Format 14 / Disk14-1.iso / PCF.BAT < prev    next >
DOS Batch File  |  1992-09-24  |  3KB  |  216 lines

  1. echo off
  2. :start
  3. cls
  4. main
  5. getkey gdstckx
  6. if errorlevel 7 goto quit
  7. if errorlevel 6 goto klotz
  8. if errorlevel 5 goto cfg
  9. if errorlevel 4 goto txt
  10. if errorlevel 3 goto sed
  11. if errorlevel 2 goto disk
  12. if errorlevel 1 goto gob
  13.  
  14. :gob
  15. cls
  16. md c:\games
  17. md c:\games\gobliins
  18. echo Please wait as the PC FORMAT Coverdisk copies the relevant
  19. echo files to C:\GAMES\GOBLIINS...
  20. pause
  21. copy gob.exe c:\games\gobliins
  22. cls
  23. drive
  24. getkey ab
  25. if errorlevel 2 goto gobb
  26. if errorlevel 1 goto goba
  27.  
  28. :gobb
  29. cls
  30. echo Restoring Gobliins 2 to its full size...
  31. c:
  32. cd\games\gobliins
  33. gob
  34. del gob.exe
  35. call c:\games\gobliins\go
  36. cd\
  37. b:
  38. goto start
  39.  
  40. :goba
  41. cls
  42. echo Restoring Gobliins 2 to its full size...
  43. c:
  44. cd\games\gobliins
  45. gob
  46. del gob.exe
  47. call c:\games\gobliins\go
  48. cd\
  49. a:
  50. goto start
  51.  
  52. :disk
  53. cls
  54. echo Please wait as the PC FORMAT Coverdisk copies the revant files
  55. echo to C:\PCF\DISKTOOL
  56. md c:\pcf
  57. md c:\pcf\disktool
  58. copy disktl.exe c:\pcf\disktool
  59. cls
  60. drive
  61. getkey ab
  62. if errorlevel 2 goto diskb
  63. if errorlevel 1 goto diska
  64.  
  65. :diskb
  66. cls
  67. c:
  68. cd\pcf\disktool
  69. disktl
  70. del disktl.exe
  71. disktool
  72. b:
  73. goto start
  74.  
  75. :diska
  76. cls
  77. c:
  78. cd\pcf\disktool
  79. disktl
  80. del disktl.exe
  81. disktool
  82. a:
  83. goto start
  84.  
  85. :sed
  86. cls
  87. echo Please wait as the PC FORMAT Coverdisk copies the relevant files
  88. echo to C:\PCF\SED
  89. md c:\pcf
  90. md c:\pcf\sed
  91. copy sedh.exe c:\pcf\sed
  92. cls
  93. drive
  94. getkey ab
  95. if errorlevel 2 goto sedb
  96. if errorlevel 1 goto seda
  97.  
  98. :sedb
  99. cls
  100. c:
  101. cd\pcf\sed
  102. sedh
  103. del sedh.exe
  104. b:
  105. goto start
  106.  
  107. :seda
  108. cls
  109. c:
  110. cd\pcf\sed
  111. sedh
  112. del sedh.exe
  113. a:
  114. goto start
  115.  
  116. :txt
  117. cls
  118. echo Please wait as the PC FORMAT Coverdisk copies the relevant files
  119. echo to C:\UTILS
  120. md c:\utils
  121. copy text.exe c:\utils
  122. cls
  123. drive
  124. getkey ab
  125. if errorlevel 2 goto txtb
  126. if errorlevel 1 goto txta
  127.  
  128. :txtb
  129. cls
  130. c:
  131. cd\utils
  132. text
  133. del text.exe
  134. b:
  135. goto start
  136.  
  137. :txta
  138. cls
  139. c:
  140. cd\utils
  141. text
  142. del text.exe
  143. a:
  144. goto start
  145.  
  146. :cfg
  147. cls
  148. echo Please wait as the PC FORMAT Coverdisk copies the relevant files
  149. echo to C:\UTILS
  150. md c:\utils
  151. copy cfg_100.exe c:\utils
  152. cls
  153. drive
  154. getkey ab
  155. if errorlevel 2 goto cfgb
  156. if errorlevel 1 goto cfga
  157.  
  158. :cfga
  159. cls
  160. c:
  161. cd\utils
  162. cfg_100
  163. del cfg_100.exe
  164. a:
  165. goto start
  166.  
  167. :cfgb
  168. cls
  169. c:
  170. cd\utils
  171. cfg_100
  172. del cfg_100.exe
  173. b:
  174. goto start
  175.  
  176. :klotz
  177. cls
  178. echo Please wait as the PC FORMAT Coverdisk copies the relevant files
  179. echo to C:\GAMES\KLOTZ
  180. md c:\games
  181. md c:\games\klotz
  182. copy klo.exe c:\games\klotz
  183. cls
  184. drive
  185. getkey ab
  186. if errorlevel 2 goto klotzb
  187. if errorlevel 1 goto klotza
  188.  
  189. :klotzb
  190. cls
  191. c:
  192. cd\games\klotz
  193. klo
  194. del klo.exe
  195. b:
  196. goto start
  197.  
  198. :klotza
  199. cls
  200. c:
  201. cd\games\klotz
  202. klo
  203. del klo.exe
  204. a:
  205. goto start
  206.  
  207. :quit
  208. cls
  209. good
  210. getkey x
  211. if errorlevel 1 goto exit
  212.  
  213. :exit
  214. cls
  215. echo on
  216.