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

  1. @echo off
  2. cls
  3. echo.
  4. echo.
  5. beep
  6. beep
  7. beep
  8. echo ATTENTION! - You Must Have the Line:
  9. echo              DEVICE=C:\DOS\ANSI.SYS
  10. echo              Written In Your CONFIG.SYS File
  11. echo              to Run This Tutor!
  12. echo.                  
  13. echo              You may Exit this Program Now to add the line
  14. echo              if you don't already have ANSI.SYS installed.
  15. echo.                  
  16. echo.
  17. echo Do You Want to EXIT the Tutor Now to Install ANSI.SYS ?
  18. echo.
  19. echo Entering a "Y" Here Will Exit You Out of This Program
  20. echo and Entering a "N" Here Will Continue To The Tutor
  21. echo.
  22. showline Enter Your Choice Here (Y/N):
  23. y_or_n
  24. IF ERRORLEVEL 1 GOTO EXIT
  25. IF ERRORLEVEL 0 GOTO PROCEED
  26. :PROCEED
  27. cls
  28. beep
  29. ansi 1;40;37m
  30. echo                          █▀▀▀▀▀▀▀▀▀▀▀▀█   
  31. echo                          █          
  32. echo                          █   ▄   ▄    █
  33. echo                          █    ▀▀▀     █
  34. echo                          ▀▀▀▀▀▀██▀▀▀▀▀▀
  35. echo                       ████████████████████
  36. echo                       ███████████████═══██
  37. echo                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  38. echo.
  39. echo.
  40. echo            ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  41. echo         ▓                                             
  42. echo         ▓     What Do I Do With This !@#*! Thing ?    
  43. echo         ▓       ≡ A Simple Computer Tutor ≡           
  44. echo         ▓                                             
  45. echo         ▓    Written by: Ralph Melancon               
  46. echo         ▓                Sysop - Gem-Sun Systems BBS  
  47. echo         ▓                        (504) 447-9204       
  48. echo            ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  49. ansi 36m
  50. echo.
  51. beep
  52. echo Do You Want to Continue With This Tutor Session - (Y/N?
  53. echo.
  54. showline Enter Your Choice Here:
  55. y_or_n
  56. IF ERRORLEVEL 1 GOTO GO
  57. IF ERRORLEVEL 0 GOTO EXIT
  58. ansi 1;40;37m
  59. :GO
  60. echo.
  61. ansi 36m
  62. pause
  63. cls
  64. echo.
  65. echo.
  66. set name=
  67. beep
  68. echo What is Your First Name?
  69. inputnam
  70. echo.
  71. call savenam.bat
  72. echo.
  73. cls
  74. echo.
  75. beep
  76. echo      Hello There %name%, Welcome to this Humble
  77. echo      Little Computer Tutor!
  78. echo.
  79. ansi 0;1;44;37m
  80. echo      Much technical information is written for the use of Your new    
  81. echo      Computer System, but it is this program's desire to help a NEW   
  82. echo      computer user to just "move" around and get aquainted with his   
  83. echo      system.                                                          
  84. echo      This Tutor is written for IBM compatibles which operate in a     
  85. echo      DOS environment. Through it, you will be given a chance to       
  86. echo      FAMILIARIZE yourself with your computer and a few useful DOS     
  87. echo      commands.                                                        
  88. echo      I hope you find it informative, fun and useful! As your fluency  
  89. echo      in computer operations increases, please check our BBS for more  
  90. echo      useful programs.                                                 
  91. ansi 0;1;40;35m
  92. echo.
  93. echo      Ralph Melancon
  94. echo      Sysop - Gem-Sun Systems BBS 
  95. echo      (504) 447-9204
  96. ansi 0;1;40;32m
  97. echo.
  98. beep
  99. echo  Do You Want to Go Straight to the DOS Command Menu - (Y/N?
  100. echo  (Entering a "N" will Proceed with the Lesson)
  101. showline  Enter Your Choice Here:
  102. y_or_n
  103. IF ERRORLEVEL 1 GOTO loop
  104. IF ERRORLEVEL 0 GOTO CONTINUE
  105. :CONTINUE
  106. cls
  107. echo.
  108. echo    How does your Computer work ?
  109. ansi 1;40;37m
  110. echo.
  111. echo    Well, this can be a very complicated or very simple question.
  112. echo    For our purposes here, we will just say that your computer is a very
  113. echo    way of storing information - kind of like a file cabinet only much
  114. echo    more powerful - A computer can also PROCESS information!
  115. echo.
  116. echo    Whatever program that your system starts when you turn it on - be it
  117. echo    MS-Windows; Tandy Deskmate; Packard Bell Menu; or some other Desktop
  118. echo    program - it is not the program responsible for operating your system!
  119. echo    Your IBM compatible computer is controlled by a program called DOS.
  120. echo    DOS stands for :
  121. echo.
  122. beep
  123. beep
  124. echo           - Disk
  125. beep
  126. beep
  127. echo           - Operating
  128. beep
  129. beep
  130. echo           - System
  131. beep
  132. echo.
  133. echo.
  134. echo.
  135. ansi 36m
  136. pause
  137. cls
  138. echo    Needless to say, this is the program responsible for your system's
  139. echo    operations. Many people invest in a system and then at some point in
  140. echo    their learning, need answers to questions that they may have about
  141. echo    operations they wish to perform. They call the place where they had
  142. echo    purchased their system only to find out that the person who sold them
  143. echo    the system is unavailable, out of town, or knows less than they do
  144. echo    about the disk operations program.
  145. echo.
  146. echo    What do you do?
  147. ansi 1;40;37m
  148. echo.
  149. echo    At this point you can:
  150. echo         1Call Someone Else (if you're lucky and it's not 3am)
  151. echo         2Forget it All and bring back your computer and 
  152. echo            attempt to get a refund.
  153. echo            (Only to find out that Your refund policy has expired)
  154. echo         3Take a Sledge Hammer and Crash Your Computer
  155. echo         4Take a Sledge Hammer and Crash the Salesperson (grin)
  156. echo         5"Wip Out" Your Complete Reference DOS Manual and
  157. echo            look it up!
  158. echo.
  159. beep
  160. echo     Wow! Good thing You learned a little about Your Operating System 
  161. echo     or frustration could have got the best of you!                   
  162. echo.
  163. ansi 36m
  164. pause
  165. cls
  166. echo.
  167. echo     Your Computer (Hard Drive) is composed of Different Drives or Disks.
  168. echo     The Hard Drive is usually considered to be C: Drive
  169. echo     The Floppy Drive is usually considered to be A: or B: Drive
  170. echo     A Floppy Drive is Usually 5¼ inch (large & flimsy)
  171. echo                            or 3½ inch (small & firm)
  172. echo     If you have both 5¼ & 3½ inch Floppy Drives:
  173. echo                 1 will be considered A: Drive
  174. echo                 & the other will be considered B: Drive
  175. echo.
  176. echo     C: Drive (Hard Disk) is a convenient Storage Space on which you are
  177. echo     able to install your favorite programs and run without needing to
  178. echo     run them from a floppy disk. These programs are stored INSIDE of your
  179. echo     computer. Typical storage capacities on these Hard Drives are usually
  180. echo     somewhere in the range between 20 - 40 - 80 - 105 - 130 megabytes, and
  181. echo     as you can reasonably deduce, they store MUCH more information than
  182. echo     your typical floppy disk.
  183. echo.
  184. ansi 36m
  185. pause
  186. cls
  187. echo.
  188. echo     On an IBM compatible, the System which controls the use of your
  189. echo     different drives is DOS, and although it has been said that DOS could
  190. echo     use some renovation, it is a VERY powerful program!
  191. echo     For Instance:
  192. echo     If you are running the program Windows, your computer has probably
  193. echo     stored Windows on the C: Drive in the Windows directory...
  194. echo                  C:\WINDOWS\
  195. echo     Within the Windows directory are the files which are needed to run
  196. echo     the Windows program. The program which accesses these files in order
  197. echo     that they may be ran is DOS.
  198. echo     In other words - if the files in the Windows directory are deleted,
  199. echo     the Windows program CANNOT run. You can delete these files from DOS
  200. echo     and although Windows won't be able to run, DOS will be able to run.
  201. echo     If the files in your DOS directory are deleted, DOS will not be able
  202. echo     to run AND it is not likely that Windows would run EVEN though the
  203. echo     files in the Windows directory are NOT deleted.
  204. echo     Case in point DOS runs the Windows program & NOT vice versa!
  205. echo.
  206. ansi 36m
  207. pause
  208. cls
  209. :loop
  210. cls
  211. beep
  212. echo     Now For a Few DOS Operation Commands:
  213. echo.
  214. echo     To Perform an Operation, Press the Desired Corresponding Number
  215. echo.
  216. echo    ▒▒▒▒▒▒▒▒▒▒▒▒▒ Simple Dos Operation Command Menu ▒▒▒▒▒▒▒▒▒▒▒▒▒
  217. echo    ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒
  218. echo    ▒▒                                                             ▒▒
  219. echo    ▒▒  1Display a Directory Listing of Your C:\ Drive           ▒▒
  220. echo    ▒▒  2FORMAT a FLOPPY in A: Drive                             ▒▒
  221. echo    ▒▒  3Display Your DOS Version                                ▒▒
  222. echo    ▒▒  4Display Your System's Memory Usage                      ▒▒
  223. echo    ▒▒  5Display a Directory TREE of Your C:\ Drive              ▒▒
  224. echo    ▒▒  6Print a Directory Listing of Your C:\ Drive             ▒▒
  225. echo    ▒▒  7Print a Tree Listing of Your C:\ Drive                  ▒▒
  226. echo    ▒▒  8Run Checkdisk on Your C:\ Drive                         ▒▒
  227. echo    ▒▒  9Read Your AUTOEXEC.BAT File                             ▒▒
  228. echo    ▒▒  ARead Your CONFIG.SYS File                               ▒▒
  229. echo    ▒▒  XContinue With The Simple Computer Tutor...              ▒▒
  230. echo    ▒▒                                                             ▒▒
  231. echo    ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒
  232. echo    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  233. echo.
  234. ansi 0;1;40;37m
  235. showline Enter Your Choice Here (1-X):
  236. echo.
  237. :get_key
  238. scancode
  239. IF ERRORLEVEL 2 IF NOT ERRORLEVEL 3 GOTO 1
  240. IF ERRORLEVEL 3 IF NOT ERRORLEVEL 4 GOTO 2
  241. IF ERRORLEVEL 4 IF NOT ERRORLEVEL 5 GOTO 3
  242. IF ERRORLEVEL 5 IF NOT ERRORLEVEL 6 GOTO 4
  243. IF ERRORLEVEL 6 IF NOT ERRORLEVEL 7 GOTO 5
  244. IF ERRORLEVEL 7 IF NOT ERRORLEVEL 8 GOTO 6
  245. IF ERRORLEVEL 8 IF NOT ERRORLEVEL 9 GOTO 7
  246. IF ERRORLEVEL 9 IF NOT ERRORLEVEL 10 GOTO 8
  247. IF ERRORLEVEL 10 IF NOT ERRORLEVEL 11 GOTO 9
  248. IF ERRORLEVEL 30 IF NOT ERRORLEVEL 31 GOTO A
  249. IF ERRORLEVEL 45 IF NOT ERRORLEVEL 46 GOTO COMMANDS
  250. goto get_key
  251. :1
  252. cls
  253. c:
  254. cd\
  255. dir/p
  256. beep
  257. pause
  258. cd\tryout
  259. goto loop
  260. :2
  261. cls
  262. cd\dos
  263. format a:
  264. beep
  265. cd\tryout
  266. goto loop
  267. :3
  268. cls
  269. cd\dos
  270. ver
  271. echo.
  272. beep
  273. pause
  274. cd\tryout
  275. goto loop
  276. :4
  277. cls
  278. cd\dos
  279. mem /c |more
  280. echo.
  281. beep
  282. pause
  283. cd\tryout
  284. goto loop
  285. :5
  286. cls
  287. cd\
  288. tree
  289. echo.
  290. beep
  291. pause
  292. cd\tryout
  293. goto loop
  294. :6
  295. cls
  296. cd\
  297. beep
  298. echo Be Sure To Turn Your Printer On
  299. echo and Put It Online Now
  300. beep
  301. echo.
  302. pause
  303. dir c:\ > prn
  304. echo.
  305. beep
  306. echo Done Printing! Let's Go Back to the DOS Menu Now
  307. echo.
  308. pause
  309. cd\tryout
  310. goto loop
  311. :7
  312. cls
  313. cd\
  314. beep
  315. echo Be Sure To Turn Your Printer On
  316. echo and Put it Online Now
  317. echo.
  318. beep
  319. pause
  320. tree c:\ > prn
  321. echo.
  322. beep
  323. echo Done Printing! Let's Go Back to the DOS Menu Now
  324. echo.
  325. pause
  326. cd\tryout
  327. goto loop
  328. :8
  329. cd\
  330. cls
  331. chkdsk
  332. echo.
  333. beep
  334. pause
  335. cd\tryout
  336. goto loop
  337. :9
  338. cd\
  339. cls
  340. type autoexec.bat |more
  341. echo.
  342. beep
  343. echo This File is Your Autoexec.Bat File
  344. echo Your Computer Executes These Commands Everytime Your Turn It On
  345. beep
  346. echo Note What Programs, Path, Commands are Set Here
  347. echo.
  348. pause
  349. cd\tryout
  350. goto loop
  351. :A
  352. cd\
  353. cls
  354. type config.sys
  355. echo.
  356. beep
  357. echo This File is Your Config.Sys File
  358. beep
  359. echo Note The Device and Memory Drivers That May Be Installed Here.
  360. echo.
  361. beep
  362. pause
  363. cd\tryout
  364. goto loop
  365. :commands
  366. cls
  367. echo.
  368. echo Ok...Did You Enjoy That "On Hands" Display of Various DOS Commands ?
  369. beep
  370. echo.
  371. showline Enter Y or N Here:
  372. echo.
  373. y_or_n
  374. IF ERRORLEVEL 1 GOTO YES
  375. IF ERRORLEVEL 0 GOTO WISEGUY
  376. :YES
  377. cls
  378. echo.
  379. beep
  380. echo Of Course You Did, %name%
  381. echo.
  382. echo.
  383. echo                     
  384. beep
  385. echo.
  386. goto OK
  387. :WISEGUY
  388. cls
  389. echo.
  390. beep
  391. beep
  392. beep
  393. beep
  394. beep
  395. echo Watch it...%name%You Sure are a Wiseguy!
  396. beep
  397. beep
  398. beep
  399. beep
  400. beep
  401. echo.
  402. goto OK
  403. :OK
  404. beep
  405. beep
  406. pause
  407. cls
  408. echo.
  409. echo.
  410. echo Now For Your List Of Simple and Useful Dos Commands
  411. echo.
  412. ansi 1;40;35m
  413. echo Please Keep in Mind That This List Does Not Compare to a Complete
  414. echo Reference Manual and...
  415. echo.
  416. echo Some of The Following Commands MAY NOT be Available to You
  417. echo Depending on What Version Number of DOS You Are Running.
  418. echo.
  419. ansi 1;40;37m
  420. echo Alright, Let's Learn a Few DOS Commands!
  421. echo.
  422. ansi 36m
  423. pause
  424. cls
  425. echo.
  426. echo ASSIGN - This command allows You to trick DOS into thinking A: Drive
  427. echo          is C: Drive and Vice Versa.
  428. echo Examples: ASSIGN A=C
  429. echo           ASSIGN A=C B=C
  430. echo           ASSIGN /STATUS - Displays Current Drive Assignments
  431. echo.
  432. echo CHDIR  - This command allows You to Change Drives or Directories.
  433. echo          It can be entered as CD.
  434. echo Examples: CD A: - Changes from Current Drive to Drive A:
  435. echo           CD\   - Changes to the Root Directory of Current Drive
  436. echo           CD\DO - Changes to the "DO" Directory
  437. echo                   (As Long as it is on the SAME Drive as the Current One)
  438. echo.
  439. echo CHKDSK - This command Checks Your Drive's Technical Structure and Reports
  440. echo          to You if there are any problems. Also reports to you how much
  441. echo          storage space You have remaining on Your Disk.
  442. echo Examples: CHKDSK     - Checks the Current Drive
  443. echo           CHKDSK C:\ - Checks C: Drive
  444. echo           CHKDSK /F  - Prompts DOS to FIX errors found on the Drive
  445. echo.
  446. ansi 36m
  447. pause
  448. cls
  449. echo.
  450. echo CLS    - This command allows You to Clear a "jumbled" screen.
  451. echo Examples: CLS - Clears the Screen
  452. echo.
  453. echo COPY   - This command allows You to copy files from one Drive/Directory 
  454. echo          to Another.
  455. echo Examples: COPY A:\FILENAME.EXE - Copies the File "FILENAME.EXE" from
  456. echo                                  Drive A: to the Current Drive.
  457. echo           COPY A:\*.* C:\WORK  - Copies ALL of the Files on A: Drive to
  458. echo                                  the C:\WORK Directory.
  459. echo.
  460. echo DATE   - This command allows You to Change Your System's current Date.
  461. echo Examples: DATE 12/02/91 - Changes the System's Date to 12/02/91.
  462. echo           DATE          - Displays Current System Date and Allows 
  463. echo                           You to Enter a New One.
  464. echo.
  465. echo DIR    - This command allows You to Display a Listing of the Directory.
  466. echo Examples: DIR C:    - Displays a Directory Listing of Drive C:
  467. echo           DIR A: /P - Displays a Directory Listing of Drive A: but
  468. echo                       allows You to Stop and Read it if it is large.
  469. echo           DIR /W    - Displays a "Wide" irectory Listing.
  470. echo.
  471. ansi 36m
  472. pause
  473. cls
  474. echo.
  475. echo DOSSHELL - This command is available with DOS Versions 4 & 5 only.
  476. echo            It provides a DOS Menu from which to perform DOS operations.
  477. echo Examples: DOSSHELL - Invokes the DOS SHELL Menu Program.
  478. echo.
  479. echo EDIT     - This command is available with DOS Version 5 only.
  480. echo            It provides a Word Processor/File Editor.
  481. echo Examples: EDIT - Ivokes the DOS EDITOR program.
  482. echo.
  483. echo FDISK    - This command provides a program used to partition your
  484. echo            Hard Drive.
  485. echo Examples: FDISK - Invokes the FDISK program.
  486. echo.
  487. echo FORMAT   - This command allows you to Format Your floppy disk in order
  488. echo            that You may use them to store files and/or programs.
  489. echo Examples: FORMAT A: - Allows You to Format Your New Floppy Disks
  490. echo.
  491. echo GRAPHICS - This command allows You to Print Graphics on Your Printer.
  492. echo Examples: GRAPHICS - Installs the Graphics Program in Your System Memory.
  493. echo.
  494. ansi 36m
  495. pause
  496. cls
  497. echo.
  498. echo HELP     - This command is available with DOS Version 5 Only!
  499. echo            It provides online Help with DOS commands.
  500. echo Examples: HELP FORMAT - This command Displays online Help with the
  501. echo                         FORMAT command.
  502. echo           HELP /?     - This command Displays Help with the HELP command.
  503. echo           HELP        - This command Displays a brief description on all
  504. echo                         DOS 5 commands.
  505. echo.
  506. echo MEM      - This command is used to Display Your System's Current memory
  507. echo            usage. All device drivers and installed memory resident
  508. echo            programs are displayed.
  509. echo Examples: MEM /C - This command is called "Classify", and it Displays
  510. echo                    the status of all programs in upper and conventional
  511. echo                    memory.
  512. echo.
  513. echo MKDIR    - This command allows You to Make Directories on Your Drives.
  514. echo            It can be entered as "MD".
  515. echo Examples: C:\ MD ZIPFILES - This command makes the directory "ZIPFILES"
  516. echo                             on Your C: Drive.
  517. echo           C:\ZIPFILES\ MD SMALL - Makes the "Small" Directory under the
  518. echo                                   C:\ZIPFILES Directory.
  519. echo.
  520. ansi 36m
  521. pause
  522. cls
  523. echo.
  524. echo PATH     - This command is usually written as a line in Your
  525. echo            "AUTOEXEC.BAT" file. It tells DOS to look for files in
  526. echo            certain Directories.
  527. echo Examples: PATH=C:\DOS;E:\PCTOOLS - This command tells DOS to search the
  528. echo                                    C:\DOS & E:\PCTOOLS Directories for
  529. echo                                    commands You enter. This allows you
  530. echo                                    to start the PCTools Program & perform
  531. echo                                    any DOS commands from ANY Directory!
  532. echo.
  533. echo RENAME   - This command allows You to Rename Your files. It can be entered
  534. echo            as REN.
  535. echo Examples: REN AUTOEXEC.BAT AUTO.BAK - This command will Rename the file
  536. echo                                       "AUTOEXEC.BAT" to "AUTO.BAK".
  537. echo.
  538. echo SYS      - This command transfers the System Files to a Floppy Disk
  539. echo            which makes the floppy a "Bootable" Disk with which You can
  540. echo            "Boot" Your computer. 
  541. echo Examples: SYS A: - This command makes the Disk in Drive A: a "Bootable"
  542. echo                    Disk.
  543. echo.
  544. ansi 36m
  545. pause
  546. cls
  547. echo TIME     - This command allows You to Set or Display the Current System
  548. echo            Time.
  549. echo Examples: TIME 23:30:10 - This command sets the Time as 11:30 (10 secs)pm.
  550. echo                           This format is in 24 Hour format.
  551. echo           TIME 11:30pm  - This command also sets the System Clock at
  552. echo                           11:30pm BUT in the 12 Hour am/pm format.
  553. echo           TIME          - Displays the Current System Time.
  554. echo.
  555. echo TREE    - This command Displays a Directory Structure in "Tree" format.
  556. echo           Beginning with DOS Version 4, the tree is displayed in a
  557. echo           "Graphics" format.
  558. echo Examples: TREE C:\    - Displays a Directory Structure of Your C: Drive.
  559. echo           TREE C:\ /F - Displays the Structure AND lists the files in
  560. echo                         each Directory on C: Drive.
  561. echo.
  562. echo TYPE    - This command Displays the contents of a file.
  563. echo Examples: TYPE AUTOEXEC.BAT  - Displays the contents of the AUTOEXEC.BAT
  564. echo                                file.
  565. echo.
  566. echo VER     - This command Displays the DOS Version Number Your System is
  567. echo           operated by.
  568. echo Examples: VER - Displays Your System's DOS Version. 
  569. echo                 (DOS Version 1;2;3.2;3.3;4;5, etc...)
  570. ansi 36m
  571. pause
  572. cls
  573. beep
  574. echo.
  575. echo Well, that completes this Simple Tutor. Hope you enjoyed it and learned
  576. echo a little more about Your Computer System and working with it's DOS
  577. echo commands. Practice as You see fit, but one word of advice:
  578. echo.
  579. echo         You will not regret investing in a COMPLETE REFERENCE
  580. echo         MANUAL for DOS.
  581. echo         Quick references are helpful also, but an investment of
  582. echo         a little more money will help You when You need it most!
  583. echo.
  584. echo.
  585. echo Would You Like to Return to the Simple DOS Command Menu - (Y/N) ?
  586. echo.
  587. echo Entering a "Y" Will Return You to the DOS Command Menu For More
  588. echo Experimentaion and Entering a "N" Will Exit the Tutor
  589. echo.
  590. showline Enter Your Choice Here:
  591. y_or_n
  592. IF ERRORLEVEL 1 GOTO loop
  593. IF ERRORLEVEL 0 GOTO SIGNOFF
  594. :SIGNOFF
  595. cls
  596. echo.
  597. beep
  598. echo.
  599. echo.
  600. echo  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  601. echo.
  602. echo  Thanks for Using the Simple Computer Tutor, %name%      
  603. echo.
  604. echo  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  605. echo.
  606. echo.
  607. echo.
  608. echo.
  609. echo.
  610. del savenam.bat
  611. beep
  612. echo Press any Key to EXIT the Simple Computer Tutor
  613. echo.
  614. pause
  615. echo.
  616. :EXIT
  617. cls
  618. ansi 1;40;32m
  619. echo.
  620. echo.
  621. echo Your Computer Will Now Reboot So as to Return Your Path Statement
  622. echo Back to it's Original Path Environment
  623. echo.
  624. echo.
  625. echo C:\TRYOUT was Added to Your Path Statement when it ran.
  626. echo The Tutor will now Reboot Your System if You so Choose.
  627. echo You are given the option to Exit and Reboot Your System Yourself.
  628. echo.
  629. echo Do You Want to Continue With Exit and Reboot - (Y/N) ?
  630. echo.
  631. echo Entering a "Y" Will Exit the Program and Reboot Your System
  632. echo Entering a "N" Will Exit the Program Without Rebooting Your System
  633. echo.
  634. ansi 1;40;37m
  635. showline Enter Your Choice Here:
  636. echo.
  637. y_or_n
  638. IF ERRORLEVEL 1 GOTO REBOOT
  639. IF ERRORLEVEL 0 GOTO BYE
  640. :REBOOT
  641. echo Be Sure To Remove any Floppy Disks From Drive A:
  642. echo AFTER Pressing a Key to Continue!
  643. echo.
  644. pause
  645. bootup
  646. :BYE
  647. cls
  648.