home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / r / rtnags12.zip / NAGSINST.BAT < prev    next >
DOS Batch File  |  1992-12-31  |  4KB  |  130 lines

  1. @echo off
  2. :begin
  3. BfE clear1
  4. bfe ncsay 15 1 14 1 Olsen Outdoors Software Installer and Document Printer
  5. bfe box 10 3 14 3 64 9
  6. bfe ncsay 0 3 16 4 1. Install RACE THE NAGS to Floppy or Hard Disk
  7. bfe ncsay 0 3 16 5 2. Print RACE THE NAGS Manual
  8. bfe ncsay 0 3 16 6 3. Print RACE THE NAGS Registration Form
  9. bfe ncsay 0 3 16 7 4. Print Software Catalog and Order Form
  10. bfe ncsay 0 3 16 8 5. QUIT this program
  11. BfE ncsay 14 1 18 11 Please enter the NUMBER of your choice: 
  12. BfE instr 12345
  13. if errorlevel 53 goto Abort
  14. if errorlevel 52 goto PrintCat
  15. if errorlevel 51 goto PrintReg
  16. if errorlevel 50 goto PrintMan
  17. if errorlevel 49 goto Install1
  18. bfe beep
  19. goto begin
  20. :Install1
  21. bfe clear1
  22. if "%1" == "" goto Install2
  23. bfe say 15 1 2 1 Ready to install RACE THE NAGS onto your hard disk.
  24. bfe say 15 1 2 2 The game will be installed in the drive\directory shown
  25. BfE say 15 1 2 3 below.
  26. echo "%1" 
  27. bfe ncsay 15 1 2 5 Is this okay? (y-n) 
  28. BfE y-n
  29. if not errorlevel 89 goto Abort1
  30. bfe clear1
  31. bfe say 14 1 10 1 Beginning installation of RACE THE NAGS......
  32. if not exist %1\nul md %1
  33. copy *.* %1
  34. bfe delay3000
  35. bfe clear0
  36. echo Installation of RACE THE NAGS has been completed. To run RACE THE NAGS,
  37. echo first change to the directory "%1" then type NAGS.
  38. echo.
  39. echo Please enter the NUMBER of what you want to do next from the list below.
  40. echo.
  41. echo.
  42. echo 1. Quit this program and return to DOS.
  43. echo 2. Return to the MAIN MENU of this program.
  44. echo.
  45. BfE ncsay 14 0 20 12 Please enter either 1 or 2  
  46. BfE instr 12
  47. if errorlevel 50 goto begin
  48. goto abort
  49. :Install2
  50. bfe clear1
  51. bfe say 15 1 2 2 Ready to install RACE THE NAGS onto your hard disk. The game will be
  52. bfe ncsay 15 1 2 3 installed in the drive\directory C:\RTNAGS. Is this okay? (y/n) 
  53. BfE y-n
  54. if not errorlevel 89 goto Abort1
  55. bfe clear1
  56. bfe say 14 1 2 1 beginning installation of RACE THE NAGS to C:\RTNAGS......
  57. if not exist c:\rtnags\nul md c:\rtnags
  58. copy *.* c:\rtnags
  59. bfe delay3000
  60. cls
  61. echo Installation of RACE THE NAGS has been completed. Please enter the
  62. echo  NUMBER of what you want to do next from the list below.
  63. echo.
  64. echo.
  65. echo 1. Quit this program and RACE THE NAGS (leave the floppy inserted for now!)
  66. echo 2. Quit this program and return to DOS.
  67. echo 3. Return to the MAIN MENU of this program.
  68. echo.
  69. BfE ncsay 14 1 2 10 Please enter either 1, 2, or 3 
  70. BfE instr 123
  71. if errorlevel 51 goto begin
  72. if errorlevel 50 goto abort
  73. if errorlevel 49 goto RUNNAGS
  74. goto begin
  75. :PrintMan
  76. bfe clear1
  77. bfe say 15 1 10 1 Ready to print RACE THE NAGS manual (about 18 pages).
  78. BfE ncsay 14 1 10 3 Press P to PRINT, any other key to CANCEL.
  79. BfE
  80. if not errorlevel 80 goto begin
  81. bfe say 15 1 10 5 Please wait. Printing RACE THE NAGS users manual....
  82. copy nags.doc prn
  83. bfe delay2000
  84. goto begin
  85. :PrintReg
  86. bfe clear1
  87. bfe say 15 1 10 1 Ready to print RACE THE NAGS registration form.
  88. BfE ncsay 14 1 10 3 Press P to PRINT, any other key to CANCEL.
  89. BfE
  90. if not errorlevel 80 goto begin
  91. bfe say 15 1 10 5 Please wait. Printing RACE THE NAGS registration form.....
  92. copy register.txt prn
  93. bfe delay2000
  94. goto begin
  95. :PrintCat
  96. bfe clear1
  97. bfe say 15 1 15 1 Ready to print Software Catalog and Order Form.
  98. BfE ncsay 14 1 15 3 Press P to PRINT, any other key to CANCEL:
  99. bfe
  100. if not errorlevel 80 goto begin
  101. bfe say 10 1 15 5 Please wait. Printing Software Catalog and Order Form.....
  102. copy orderfrm.txt prn
  103. bfe delay2000
  104. goto begin
  105. :Abort1
  106. cls
  107. echo Cancelling RACE THE NAGS installation.
  108. echo.
  109. echo To specify a directory other than C:\RTNAGS, restart the INSTALL program
  110. echo with a command similar to this:
  111. echo.
  112. BfE say 14 1 20 6 INSTALL (drive)\(directory)
  113. echo.
  114. echo where (drive) specifies the hard disk drive you want (C:, D: etc.) 
  115. echo followed by a back-slash (\ with no spaces) and the name of the
  116. echo directory to install it in (again with no spaces).
  117. echo.
  118. goto finish
  119. :RUNNAGS1
  120. cd %1
  121. %1\nags
  122. goto finish
  123. :RUNNAGS
  124. c:
  125. cd \rtnags
  126. nags
  127. goto finish
  128. :abort
  129. cls
  130. :finish