home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / educatio / cmptutor.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-09-16  |  3KB  |  120 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo.
  5. echo Welcome to the "Simple Computer Tutor" Installation.
  6. echo.
  7. echo Please Make Sure You Have The Decompressed Tutor Files on a Floppy
  8. echo Disk Located at the ROOT of Drive A:
  9. echo.
  10. echo This Installation Program Will Install the "Simple Computer Tutor" onto
  11. echo Your Hard Disk in a Directory Named [ C:\TRYOUT ].
  12. echo.
  13. echo.
  14. echo Do You Want to Stop the Installation So You Can Decompress the
  15. echo CMPTUTOR.ZIP File onto Your Floppy Disk on the ROOT of Drive A: ? - (Y/N)
  16. echo.
  17. echo Entering a "Y" Will Exit
  18. echo and Entering a "N" Will Continue With the Installation -
  19. echo.
  20. echo.
  21. showline Enter Your Choice Here:
  22. y_or_n
  23. IF ERRORLEVEL 1 GOTO LATER
  24. IF ERRORLEVEL 0 GOTO CONTINUE
  25. :CONTINUE
  26. echo.
  27. cls
  28. c:
  29. cd\
  30. md tryout
  31. cd\tryout
  32. copy a:\addpath.bat
  33. copy a:\tutorgo.bat
  34. copy a:\tutor.bat
  35. copy a:\bootup.com
  36. copy a:\showline.com
  37. copy a:\scancode.com
  38. copy a:\ansi.com
  39. copy a:\inputnam.com
  40. copy a:\beep.com 
  41. copy a:\y_or_n.com
  42. copy a:\read1st.com
  43. goto COMPLETE
  44. :COMPLETE
  45. cls
  46. echo.
  47. echo.
  48. echo.
  49. ansi 1;40;32m
  50. echo.
  51. beep
  52. echo Installation is Complete!
  53. echo.
  54. echo.
  55. ansi 37m
  56. echo Do You Want to Proceed Into Running the Tutor Now? - (Y/N)
  57. echo.
  58. echo Entering a "Y" Will Continue With Your Simple Tutor Session
  59. echo Entering a "N" Will Exit 
  60. echo.
  61. showline Enter Your Choice Here:
  62. y_or_n
  63. IF ERRORLEVEL 1 GOTO GO
  64. IF ERRORLEVEL 0 GOTO EXIT
  65. :GO
  66. c:
  67. cd\tryout
  68. call tutor.bat
  69. echo.
  70. echo.
  71. cls
  72. echo.
  73. echo.
  74. echo.
  75. echo Please Press "Y" to Confirm Exiting With Rebooting OR 
  76. echo "N" to Confirm Exiting Without Rebooting - (Y/N)
  77. echo.
  78. showline Enter Your Choice Here:
  79. echo.
  80. y_or_n
  81. IF ERRORLEVEL 1 GOTO BOOT
  82. IF ERRORLEVEL 0 GOTO NO
  83. goto exit
  84. :EXIT
  85. cls
  86. echo.
  87. echo.
  88. echo C:\TRYOUT was Added to Your Path Statement when it ran.
  89. echo The Tutor Will Reboot Your System Now So as to Restore Your Original
  90. echo Path Statement.
  91. echo You Have the Option to Exit Without Rebooting if You Choose to Reboot
  92. echo Your System Yourself.
  93. echo.
  94. echo Do You Want to Continue With Exit and Reboot - (Y/N) ?
  95. echo.
  96. echo Entering a "Y" Will Exit and Automatically Reboot.
  97. echo Entering a "N" Will Exit Without Rebooting.
  98. echo.
  99. ansi 1;40;37m
  100. showline Enter You Choice Here:
  101. echo.
  102. y_or_n
  103. IF ERRORLEVEL 1 GOTO BOOT
  104. IF ERRORLEVEL 0 GOTO NO
  105. :BOOT
  106. cls
  107. echo.
  108. echo.
  109. echo Be Sure To Remove any Floppy Disks From Drive A:
  110. echo AFTER Pressing a Key to Continue!
  111. echo.
  112. pause
  113. bootup
  114. :LATER
  115. cls
  116. exit
  117. :NO
  118. cls
  119. exit
  120.