home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MAGAZINE / MISC / MNFEB91.ZIP / BDOS02 < prev    next >
Encoding:
Text File  |  1991-01-26  |  9.3 KB  |  215 lines

  1. This continues the article for DOS beginners we began last month...
  2.  
  3.                                 CRANK ER UP...
  4.  
  5. Now that you have been introduced to some of the things DOS does for you,
  6. it's time to start up your system and do something.
  7.  
  8. Whether you start your computer to use it as a word processor, an
  9. accounting program, a data base program. or to use DOS itself, you begin by
  10. loading DOS into the computer's memory.  Loading the DOS program and
  11. starting it running is sometimes called "booting the system" or "booting
  12. the disk."  This term is borrowed from the phrase "pulling yourself up by
  13. your bootstraps," because DOS essentially pulls itself up by its own
  14. bootstraps, loading itself from disk into memory, where it then waits for a
  15. command from you.
  16.  
  17. The examples given here assume you have set up your system and are familiar
  18. with its control switches.  If you're using a hard disk, the examples also
  19. assume the hard disk has been prepared so DOS can use it.
  20.  
  21. If your computer system is new, you haven't yet prepared the hard disk, and
  22. you need some assistance, call a knowledgeable bachelor friend and offer
  23. dinner.
  24.  
  25.                            ENTERING DOS COMMANDS
  26.  
  27. The instructions you give DOS are called commands.  For the few commands
  28. listed in this article, you need only the standard typewriter keys on the
  29. keyboard.  Two of those keys, "Enter" and "Backspace", are worth mention.
  30.  
  31. The Enter key is labeled with a bent left arrow or the word Enter.  Like
  32. the return key on a typewriter, it marks the end of a line.  In general,
  33. DOS doesn't act on what you have typed until you press the Enter key, so
  34. remember to end a command by pressing Enter.
  35.  
  36. The Backspace key is labeled with a long left arrow or the word Backspace.
  37. Since it erases the last character you typed it can be used to correct
  38. typing errors you've made on the command line.
  39.  
  40. If you're using a hard disk with DOS on it, the DOS program must be copied
  41. into the computer's memory from the hard disk.
  42.  
  43. Usually, Drive A and Drive B designations are reserved for diskette drives,
  44. and the hard disk is  known to DOS as drive C.  Before starting the system
  45. make sure the latch on drive A (the diskette drive) isn't closed.
  46. Otherwise, the system will try to load the DOS program into the computer's
  47. memory from the diskette in drive A.
  48.  
  49.  
  50.  
  51. If you're not using a hard disk, the DOS program must be copied into the
  52. computer's memory from the diskette in drive A.  Open the latch of drive A
  53. (either the left-hand or upper diskette drive) and put in the diskette you
  54. use to start DOS the system disk) with the label up and away from the
  55. machine.  If you're using 5.25 inch diskettes, close the latch.  If you're
  56. using 3.5 inch diskettes, you don't have to worry about it.
  57.  
  58. Now, turn on the system.  The computer may seem to do nothing for several
  59. seconds, but this is normal.  Each time you turn on the power switch, the
  60. computer checks its memory and all attached devices to be sure everything
  61. is working properly.  This is called the POST (Power On Self Test).  The
  62. system beeps once after it has made sure that all is well, the drive lights
  63. flash, and the computer begins loading DOS into memory.
  64.  
  65. Whenever the system is booted, a chip named the "BIOS" looks to see if the
  66. boot files are on a diskette in drive A.  If there isn't a diskette in
  67. drive A, the BIOS chip looks to see if a hard disk is present.  If a
  68. non-bootable data diskette is in drive A, or ther's no hard disk, an error
  69. message is displayed on the screen.  But, in this case, we'll assume
  70. everything works well.  As soon as the program is loaded, DOS is running
  71. and ready to go to work.
  72.  
  73.  
  74. The first thing you usually see after DOS starts is a message like the
  75. following:
  76.  
  77.                         Current date is Tue 1-01-1980
  78.                         Enter new date (mm-dd-yy):
  79.  
  80. If you don't see such a message, type "DATE" and press Enter.  The blinking
  81. underline that follows the colon is the cursor.  It shows where DOS will
  82. display whatever you type next.  It also tells you that DOS is waiting for
  83. you to type something.  In this case it's waiting for you to enter a date
  84. in response to its request.  A request made by DOS is called a prompt.
  85.  
  86. To enter the date, you type the numbers that represent the month, day, and
  87. year, separated by hyphens, and then you press the Enter key.  You do not
  88. type the day of the week; as you will see later, DOS figures out the day
  89. for you and displays both the day and date whenever you ask for them.
  90.  
  91. For this example, set the date to June 1, 1990, by typing the following (be
  92. sure to press Enter after the last number):
  93.  
  94.                         Current date is Tue 1-01-1980
  95.                         Enter new date (mm-dd-yy): 05-01-90
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103. You can also use a slash (/) or a period (.) to separate the numbers.  If
  104. you don't do it exactly right (in a way DOS can recognize), DOS displays an
  105. "Invalid date" message and waits for you to try again.  If you make a
  106. mistake or enter the wrong date, don't panic!  You'll soon see, it's easy
  107. to fix such errors.
  108.  
  109. After it accepts the date, DOS displays a message asking you to enter the
  110. time and waits for you to respond.  The screen should look something like
  111. this:
  112.  
  113.                         Current date is Tue 1-01-1980
  114.                         Enter new date (mm-dd-yy): 05-01-90
  115.                         Current time is 0:03:30.00
  116.                         Enter new time:
  117.  
  118. If you don't see the preceding time message, type "TIME" and press Enter.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125. Before entering the correct time, try the following exercise to see how
  126. easily you can fix typing errors.  Try out the Backspace key.  Type some
  127. characters, such as the following, at random, but don't press Enter:
  128.  
  129.                         Current date is Tue 1-01-1980
  130.                         Enter new date (mm-dd-yy): 05-01-90
  131.                         Current time is 0:03:30.00
  132.                         Enter new time: xa4325sd73
  133.  
  134. "xa4325sd73" isn't a valid time!  If you were to press Enter now, DOS would
  135. display the error message, "Invalid time" and wait for your next attempt.
  136. Correct your typing "error" by pressing the Backspace key until all the
  137. characters are erased and the cursor is back to its original position, just
  138. to the right of the colon.  The screen looks like it did before:
  139.  
  140.                         Current date is Tue 1-01-1980
  141.                         Enter new date (mm-dd-yy): 05-01-90
  142.                         Current time is 0:03:30.00
  143.                         Enter new time:
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. You enter the time by typing the numbers that represent the current hour
  151. and minute, separated by either a colon or a period.  Don't worry about
  152. seconds and hundredths of seconds.  For this example, set the time to 9:30
  153. A.M. by typing the following (don't forget to press Enter):
  154.  
  155.                         Current date is Tue 1-01-1980
  156.                         Enter new date (mm-dd-yy): 05-01-90
  157.                         Current time is 0:03:30.00
  158.                         Enter new time: 9:30
  159.  
  160. DOS works on the basis of a 24-hour clock, so you type 9:30 A.M. as 9:30 or
  161. 9:30 P.M. as 21:30.  If your system doesn't keep the date and time current,
  162. and you just press Enter in response to the date and time prompts when you
  163. start the system, DOS starts from its baseline date and time of midnight on
  164. January 1, 1980.  This is a quick way to start the system, but DOS marks
  165. all the disk files you create or change with the time and date.  This
  166. information is very useful, so it's a good idea to set the correct date and
  167. time each time you start the system.
  168.  
  169.  
  170.  
  171. This quick tour of DOS may have introduced several new terms and concepts.
  172. Some key points to remember are:
  173.  
  174.     1.        A computer system needs both hardware (equipment) and
  175.               software.  Software that do things (applications) such as
  176.               word processing are called programs.
  177.  
  178.     2.        DOS Disk Operating System) coordinates the operation of all
  179.               parts of the computer system.
  180.  
  181.     3.        A file is a collection of related information stored on a
  182.               disk.  One sort of related information is the data files
  183.               produced when you write letters, do accounting, or add to
  184.               your mailing list.
  185.  
  186.     4.        Most of your computer work will involve files.
  187.  
  188.     5.        Besides running your application programs, DOS is valuable in
  189.               its own right. You can write simple batch files containing a
  190.               number of commands that DOS will run.
  191.  
  192.  
  193.  
  194.  
  195.  
  196. This article would'nt really be complete without some mention of the
  197. hardware on which DOS systems will operate.
  198.  
  199. PC, XT, AT, PCjr, PC Convertible, and the "PS/2" models are names that
  200. identify various desk-top computers made by IBM.  All are compatible with
  201. each other for running most software.
  202.  
  203. A "clone" is a computer that claims to be IBM PC compatible.  It is
  204. generally 98% compatible with software written for the IBM machines and
  205. 100% compatible with the cards that plug into the computer inside its case.
  206.  
  207. Beware of "compatibility" claims...make sure the software you want to run
  208. on the machine will!  If you don't know what to look for, take along a
  209. friend who does.
  210.  
  211. Press ENTER for a summary...                                         <PCSUM>
  212.  
  213. Written by Eugene A. Zeak, Jr.
  214.  
  215.