home *** CD-ROM | disk | FTP | other *** search
/ Time Riders in American History / TR_AMAZ.BIN / demome.bat < prev    next >
DOS Batch File  |  1994-09-19  |  7KB  |  338 lines

  1. @echo off
  2. REM
  3. REM --------------- Procedures in this file ----------------
  4. REM
  5. REM    :TOP       Marks the top of the batch file
  6. REM    :READ      Menu for readme files
  7. REM    :YUKON     Launches Yukon Trail demo
  8. REM    :OREGII    Launches Oregon Trail II demo
  9. REM    :TROG      Launches Troggle Trouble Math demo
  10. REM    :MUSEUM    Launches Museum Madness demo
  11. REM    :OTVGA     Launches Oregon Trail VGA demo
  12. REM    :ODELL     Launches Odell Down Under demo
  13. REM    :SBW       Launches Storybook Weaver demo
  14. REM    :MOS       Launches My Own Stories demo
  15. REM    :OTWIN     Launches Oregon Trail for Windows demo
  16. REM    :AMAZON    Launches Amazon Trail demo
  17. REM    :SHOW      Prints readme files to screen and printer
  18. REM    :MENU      Returns execution to the top of batch file (goes to :TOP)
  19. REM    :QUIT      Clears screen and exits batch file
  20. REM
  21. GOTO %1
  22.  
  23. :TOP
  24. cls
  25. @echo.
  26. @echo.
  27. @echo.
  28. @echo.
  29. cls
  30.     IF EXIST D:\DOSDEMO\AMAZOND\PRODUCT.PF D:
  31.     IF EXIST E:\DOSDEMO\AMAZOND\PRODUCT.PF E:
  32.     IF EXIST F:\DOSDEMO\AMAZOND\PRODUCT.PF F:
  33.     IF EXIST G:\DOSDEMO\AMAZOND\PRODUCT.PF G:
  34.     IF EXIST C:\DOSDEMO\AMAZOND\PRODUCT.PF C:
  35. @echo.
  36. @echo.
  37. @echo.
  38. @echo.
  39. @echo.
  40. @echo                              MECC Product Demo Menu
  41. @echo.                                 
  42. @echo          A) The Amazon Trail        F) Odell Down Under for Windows 
  43. @echo          B) Museum Madness          G) The Oregon Trail for Windows 
  44. @echo          C) My Own Stories          H) The Oregon Trail II for Windows
  45. @echo          D) The Oregon Trail VGA    I) Troggle Trouble Math for Windows
  46. @echo          E) Storybook Weaver        J) The Yukon Trail for Windows 
  47. @echo.
  48. @echo.                  V) View readme files for individual products
  49. @echo.
  50. @echo                                  X) Exit to DOS
  51. @echo.
  52. @echo.
  53. @echo.
  54.  
  55. ask              Please select a program:
  56. if errorlevel 88 goto quit
  57.  
  58. if errorlevel 87 goto top
  59. if errorlevel 86 goto read
  60.  
  61. if errorlevel 75 goto top
  62.     IF ERRORLEVEL 74 GOTO YUKON
  63.     IF ERRORLEVEL 73  GOTO TROG
  64.     IF ERRORLEVEL 72  GOTO OREGII
  65.     IF ERRORLEVEL 71  GOTO OTWIN
  66.     IF ERRORLEVEL 70  GOTO ODELL
  67.     IF ERRORLEVEL 69  GOTO SBW
  68.     IF ERRORLEVEL 68  GOTO OTVGA
  69.     IF ERRORLEVEL 67  GOTO MOS
  70.     IF ERRORLEVEL 66  GOTO MUSEUM
  71.     IF ERRORLEVEL 65  GOTO AMAZON
  72. goto top
  73.  
  74. :READ
  75. cls
  76. @echo.
  77. @echo.
  78. @echo.
  79. @echo.
  80. @echo.
  81. @echo                          MECC Product Demo Readme Files
  82. @echo.                                 
  83. @echo          A) The Amazon Trail        F) Odell Down Under for Windows 
  84. @echo          B) Museum Madness          G) The Oregon Trail for Windows 
  85. @echo          C) My Own Stories          H) The Oregon Trail II for Windows
  86. @echo          D) The Oregon Trail VGA    I) Troggle Trouble Math for Windows
  87. @echo          E) Storybook Weaver        J) The Yukon Trail for Windows 
  88. @echo.
  89. @echo.                           R) Return to product menu
  90. @echo.
  91. @echo                                  X) Exit to DOS
  92. @echo.
  93. @echo.
  94. @echo.
  95.  
  96. ask             Please select a file to view: 
  97. if errorlevel 89 goto read
  98. if errorlevel 88 goto quit
  99.  
  100. if errorlevel 83 goto read
  101. if errorlevel 82 goto menu
  102.  
  103. if errorlevel 75 goto read
  104.     IF ERRORLEVEL 74 prt YUKON
  105.     IF ERRORLEVEL 73 prt OTHERNEW
  106.     IF ERRORLEVEL 72 prt OREGONII
  107.     IF ERRORLEVEL 71 prt OREGON
  108.     IF ERRORLEVEL 70 prt OTHERNEW
  109.     IF ERRORLEVEL 69 prt WRITING
  110.     IF ERRORLEVEL 68 prt OREGON
  111.     IF ERRORLEVEL 67 prt WRITING
  112.     IF ERRORLEVEL 66 prt OTHERNEW
  113.     IF ERRORLEVEL 65 prt AMAZON
  114. goto read
  115.  
  116.  
  117. :YUKON
  118. cls
  119. @echo.        
  120. @echo.        
  121. @echo.        
  122. @echo.        
  123. @echo.        
  124. @echo.        
  125. @echo.        
  126. @echo.        
  127. @echo.        
  128. @echo.        
  129. @echo   To return to the MECC Product Demo Menu, you must exit Windows
  130. @echo   after the demonstration program has finished.
  131. @echo.        
  132. @echo.        
  133. pause
  134.     cls
  135.     cd\windemo\YUKOND
  136.     win yukon.EXE
  137.     cd\
  138.     GOTO MENU
  139.  
  140. :OREGII
  141. cls
  142. @echo.        
  143. @echo.        
  144. @echo.        
  145. @echo.        
  146. @echo.        
  147. @echo.        
  148. @echo.        
  149. @echo.        
  150. @echo.        
  151. @echo.        
  152. @echo   To return to the MECC Product Demo Menu, you must exit Windows
  153. @echo   after the demonstration program has finished.
  154. @echo.        
  155. @echo.        
  156. pause
  157.     cls
  158.     cd\windemo\OTIID
  159.     win OTIIdemo.EXE
  160.     cd\
  161.     GOTO MENU
  162.  
  163. :TROG
  164. cls
  165. @echo.        
  166. @echo.        
  167. @echo.        
  168. @echo.        
  169. @echo.        
  170. @echo.        
  171. @echo.        
  172. @echo.        
  173. @echo.        
  174. @echo.        
  175. @echo   To return to the MECC Product Demo Menu, you must exit Windows
  176. @echo   after the demonstration program has finished.
  177. @echo.        
  178. @echo.        
  179. pause
  180.     cls
  181.     cd\windemo\troggled
  182.     win troggle.EXE
  183.     cd\
  184.     GOTO MENU
  185.  
  186. :MUSEUM
  187.     cd\dosdemo\museumd
  188.     museum.com
  189.     cd\
  190.     GOTO MENU
  191.  
  192. :OTVGA
  193. cls
  194. @echo.        
  195. @echo.        
  196. @echo.        
  197. @echo.        
  198. @echo.        
  199. @echo.        
  200. @echo.        
  201. @echo.        
  202. @echo.        
  203. @echo.        
  204. @echo   This demonstration program requires that a DOS mouse driver be loaded.
  205. @echo   If it fails to run it did not detect a mouse driver.
  206. @echo.        
  207. @echo.        
  208. pause
  209.     cls
  210.     cd\dosdemo\OTdosd
  211.     Oregon.EXE
  212.     cd\
  213.     GOTO MENU
  214.  
  215. :ODELL
  216. cls
  217. @echo.        
  218. @echo.        
  219. @echo.        
  220. @echo.        
  221. @echo.        
  222. @echo.        
  223. @echo.        
  224. @echo.        
  225. @echo.        
  226. @echo.        
  227. @echo   To return to the MECC Product Demo Menu, you must exit Windows
  228. @echo   after the demonstration program has finished.
  229. @echo.        
  230. @echo.        
  231. pause
  232.     cls
  233.     cd\WINDEMO\ODELLD
  234.     win odell.EXE
  235.     cd\
  236.     goto MENU
  237.     
  238. :SBW
  239. cls
  240. @echo.        
  241. @echo.        
  242. @echo.        
  243. @echo.        
  244. @echo.        
  245. @echo.        
  246. @echo.        
  247. @echo.        
  248. @echo.        
  249. @echo.        
  250. @echo   This demonstration program requires that your hard drive be drive C.
  251. @echo   If it fails to run it did not recognize your hard drive as C:.
  252. @echo.        
  253. @echo.        
  254. pause
  255.     cls
  256.      cd\DOSDEMO\SBWD
  257.     SBW.EXE
  258.     cd\
  259.     GOTO MENU
  260.  
  261. :MOS
  262. cls
  263. @echo.        
  264. @echo.        
  265. @echo.        
  266. @echo.        
  267. @echo.        
  268. @echo.        
  269. @echo.        
  270. @echo.        
  271. @echo.        
  272. @echo.        
  273. @echo   This demonstration program requires that your hard drive be drive C.
  274. @echo   It also requires that a DOS mouse driver be loaded. If it fails to
  275. @echo   run, it did not recognize your hard drive as C: or it did not 
  276. @echo   detect a mouse driver.
  277. @echo.        
  278. @echo.        
  279. pause
  280.     cls
  281.     cd\DOSDEMO\STORIESD
  282.     Stories.EXE
  283.     cd\
  284.     GOTO MENU
  285.  
  286. :OTWIN
  287. cls
  288. @echo.        
  289. @echo.        
  290. @echo.        
  291. @echo.        
  292. @echo.        
  293. @echo.        
  294. @echo.        
  295. @echo.        
  296. @echo.        
  297. @echo.        
  298. @echo   To return to the MECC Product Demo Menu, you must exit Windows
  299. @echo   after the demonstration program has finished.
  300. @echo.        
  301. @echo.        
  302. pause
  303.     cls
  304.     cd\WINDEMO\oregonD
  305.     win oregon.EXE
  306.     cd\
  307.     goto MENU
  308.  
  309. :AMAZON
  310. cls
  311. @echo.        
  312. @echo.        
  313. @echo.        
  314. @echo.        
  315. @echo.        
  316. @echo.        
  317. @echo.        
  318. @echo.        
  319. @echo.        
  320. @echo.        
  321. @echo   This demonstration program requires that your hard drive be drive C.
  322. @echo   If it fails to run it did not recognize your hard drive as C:. 
  323. @echo.        
  324. @echo.        
  325. pause
  326.     cls
  327.     cd\DOSDEMO\amazonD
  328.     amazon.EXE c:
  329.     cd\
  330.     DEL C:\AMAZON.CFG
  331.     GOTO MENU
  332.  
  333. :MENU
  334.     GOTO TOP        
  335.  
  336. :QUIT
  337.     cls
  338.