home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1995 July / WPC_JULY95.ISO / dosmenu.bat next >
Encoding:
DOS Batch File  |  1995-05-14  |  3.0 KB  |  169 lines

  1. @echo off
  2.  
  3. :start
  4.  
  5. cls
  6. echo                             WHAT PC? DOS FRONT MENU
  7. echo"
  8. echo"
  9. echo This Dos menu system  is to enable you  to run the 3D Shareware games,  Descent
  10. echo Heretic and  Rise of the Triad, plus the Transport Tycoon demo. You have to run
  11. echo these programs  from Dos as they require  ALL your PC's resources,  and Windows
  12. echo                             prevents them running.
  13. echo"
  14. echo"
  15. echo"
  16. echo"
  17. echo"
  18. echo"
  19. echo"
  20. echo"
  21. echo"
  22. echo"
  23. echo"
  24. echo"
  25. echo"
  26. echo"
  27. echo Please note that all these games have been  set up to try to play sound using a
  28. echo Soundblaster compatible card. If you do not have one, copy the entire directory
  29. echo   of a game you wish to play to your hard disk, and run SETUP before playing.
  30.  
  31. :menu1
  32.  
  33. \system\getopt "Select an option:" "     Descent" "     Heretic" "Rise of the Triad" "Transport Tycoon" "-- Exit to Dos --"
  34.  
  35. if errorlevel=5 goto exit
  36. if errorlevel=4 goto tycoon
  37. if errorlevel=3 goto rott
  38. if errorlevel=2 goto heretic
  39. if errorlevel=1 goto descent
  40.  
  41. goto exit
  42.  
  43. :descent
  44.  
  45. cls
  46. echo"
  47. echo"
  48. echo"
  49. echo"
  50. echo          This program must be installed to a hard disk before it will run.
  51. echo                The program requires 6.5Mb of free hard disk space.
  52. echo                        Please select one of the following:
  53.  
  54. :menu2
  55.  
  56. \system\getopt "Install Descent to:" "    C:\DESCENT" "    D:\DESCENT" "    E:\DESCENT" "    F:\DESCENT" " - Don't Install -"
  57.  
  58. if errorlevel=5 goto start
  59. if errorlevel=4 goto df
  60. if errorlevel=3 goto de
  61. if errorlevel=2 goto dd
  62. if errorlevel=1 goto dc
  63.  
  64. goto start
  65.  
  66. :df
  67.  
  68. echo"
  69. echo"
  70. md f:\descent
  71. copy \share\descent\*.* f:\descent
  72. f:
  73. cd\descent
  74. echo"
  75. echo To change the programs sound setup, exit from Descent and
  76. echo run SETUP.EXE
  77. echo"
  78. descent
  79. goto exit
  80.  
  81. :de
  82.  
  83. echo"
  84. echo"
  85. md e:\descent
  86. copy \share\descent\*.* e:\descent
  87. e:
  88. cd\descent
  89. echo"
  90. echo To change the programs sound setup, exit from Descent and
  91. echo run SETUP.EXE
  92. echo"
  93. descent
  94. goto exit
  95.  
  96. :dd
  97.  
  98. echo"
  99. echo"
  100. md d:\descent
  101. copy \share\descent\*.* d:\descent
  102. d:
  103. cd\descent
  104. echo"
  105. echo To change the programs sound setup, exit from Descent and
  106. echo run SETUP.EXE
  107. echo"
  108. descent
  109. goto exit
  110.  
  111. :dc
  112.  
  113. echo"
  114. echo"
  115. md c:\descent
  116. copy \share\descent\*.* c:\descent
  117. c:
  118. cd\descent
  119. echo"
  120. echo To change the programs sound setup, exit from Descent and
  121. echo run SETUP.EXE
  122. echo"
  123. descent
  124. goto exit
  125.  
  126. :heretic
  127.  
  128. cls
  129. echo To change this program's sound setup, copy it to your hard disk
  130. echo and then run SETUP.EXE before running HERETIC.EXE
  131. echo"
  132.  
  133. cd \share\heretic
  134. heretic
  135. echo"
  136. echo Press any key to continue...
  137. pause >nul
  138. cd \
  139. dosmenu
  140.  
  141. :rott
  142.  
  143. cls
  144. echo To change this program's sound setup, copy it to your hard disk
  145. echo and then run SNDSETUP.EXE before running ROTT.EXE
  146. echo"
  147.  
  148. cd \share\rott
  149. rott
  150. echo"
  151. echo Press any key to continue...
  152. pause >nul
  153. cd \
  154. dosmenu
  155.  
  156. :tycoon
  157.  
  158. cls
  159. cd \demos\games\tycoon
  160. tycoon
  161. cd \
  162. dosmenu
  163.  
  164. :exit
  165.  
  166. cls
  167. echo Goodbye from What PC?...
  168. echo"
  169.