home *** CD-ROM | disk | FTP | other *** search
/ 8+1 Entertainment Pack: Game Pack 2 / VOL02.bin / hotkeys / hotkey4 / what_box / services.txt < prev    next >
Encoding:
Text File  |  1993-12-01  |  9.0 KB  |  367 lines

  1. DOS is a special program which comes
  2. with your computer. It's primary
  3. purpose is to run other programs.
  4. With DOS, you cannot write a letter,
  5. add up numbers or draw a picture. But
  6. because of DOS, you can run programs
  7. for writing, math or drawing.
  8.     After the computer starts, DOS
  9. provides a command line, a place on
  10. the screen where you can type a line
  11. of text telling DOS what to do.  At
  12. the start of the command line is a
  13. prompt, often called the "C Prompt."
  14. It looks like this:
  15.  
  16. C:\>_
  17.  
  18.     The C means that the currently
  19. "logged" or active disk is C, the
  20. hard disk. If your computer has one
  21. or more floppy disk drives, they are
  22. A and B.  If there is a CD-ROM, or
  23. more than one hard disk, they are D,
  24. E and so on.
  25.  
  26.    To run a program from the command
  27. line, you simply type it's filename,
  28. then press the [Enter] key.  For
  29. instance, if you have a game called
  30. STARS, then you type STARS, press
  31. [Enter], and STARS will begin and
  32. take over control of your computer.
  33. When you are done playing STARS, the
  34. C Prompt reappears and you can type
  35. something else on the command line.
  36.  
  37.    DOS has other functions in
  38. addition to support for running
  39. programs. With DOS you can display a
  40. list of the files on a disk, and you
  41. can copy, rename and delete files.
  42. There are actually several more
  43. services available, but these are the
  44. important ones.
  45.  
  46.                  DIR
  47.  
  48. In order to work with files, you need
  49. to know what you have. DIR will list
  50. the files on a disk.  To use DIR,
  51. type DIR followed by a space, then
  52. the letter of the disk containing the
  53. files you want to list and finally a
  54. colon before pressing the [Enter]
  55. key. Example:
  56.  
  57. DIR A:
  58.  
  59. This will show the files on the
  60. floppy in the A drive.
  61.  
  62. If there are more files that will fit
  63. on the screen at one time, type
  64.  
  65. DIR A:/P
  66.  
  67. The /P will pause the list so you can
  68. view the files one screenful at a
  69. time.
  70.  
  71. DIR accepts "filters."  A filter is a
  72. means of limiting the files which
  73. will be displayed.
  74.  
  75. This example will show only one file,
  76. if it exists on the disk:
  77.  
  78. DIR C:FROG.EXE
  79.  
  80. The asterisk (*) is a wildcard
  81. specifier. If you place an asterisk
  82. on one side of the period (called
  83. "dot" in computer talk) in a file
  84. name, then all files matching the
  85. other part of the filename will be
  86. displayed:
  87.  
  88. DIR C:*.EXE
  89.  
  90. This above example would list all
  91. files ending in .EXE.
  92.  
  93. DIR C:FROG.*
  94.  
  95. This example will show all files
  96. which start with FROG, and no other
  97. files.
  98.  
  99. You can use an asterisk in
  100. combination with a portion of a
  101. filename also.  For instance the
  102. example below:
  103.  
  104. DIR C:FROG*.EXE
  105.  
  106. might show these files:
  107.  
  108. FROG1.EXE
  109. FROG.EXE
  110. FROGLEG.EXE
  111.  
  112.     DIR gives you valuable
  113. statistics. At the end of every
  114. listing you get a number of bytes
  115. free, showing how much space is left
  116. on the disk.  After each file is it's
  117. size in bytes, and the date and time
  118. it was created or last modified.
  119.  
  120.                 COPY
  121.  
  122. Copy is a very useful service.  Since
  123. things may happen, and the
  124. information you can store on a
  125. computer's hard disk may be very
  126. important, with Copy you can make
  127. backup copies of your information on
  128. floppy disks for safe storage.
  129.  
  130.     Unlike video tapes, which degrade
  131. from one generation of copies to the
  132. next, each time you copy computer
  133. data from one disk to another, it is
  134. as well defined as the original.
  135.  
  136.    To use Copy, you specify the
  137. source file, then the destination
  138. file. Just like dishes, you have to
  139. pick them up off the floor, before
  140. you can set them in the sink.
  141.  
  142. Here is an example:
  143.  
  144. COPY C:CHESS.EXE A:CHESS.EXE
  145.  
  146. DOS allows some assumptions to be
  147. made so that you can reduce the amount
  148. you have to type on the command line.
  149.     If you want the copy of the file
  150. to have the same name as the
  151. original, you do not need to spell
  152. out the filename twice:
  153.  
  154. COPY C:CHESS.EXE A:
  155.  
  156.     If you are copying from the
  157. logged disk,  then you do not need to
  158. specify the source disk letter:
  159.  
  160. COPY CHESS.EXE A:
  161.  
  162. These last two examples work as well
  163. as the first.
  164.  
  165.    You can use wildcards with the
  166. Copy command.  The following command
  167. will copy all files beginning with
  168. CHESS to a floppy disk:
  169.  
  170. COPY CHESS.* A:
  171.  
  172. This may result in several files
  173. being copied, for instance:
  174.  
  175. CHESS.EXE
  176. CHESS.DOC
  177. CHESS.1
  178. CHESS.2
  179.  
  180. You can even copy everything at once
  181. with this:
  182.  
  183. COPY A:*.* C:
  184.  
  185. The above example copies everything
  186. from the floppy disk in drive A to
  187. the hard disk.
  188.  
  189.               COPY PRN
  190.  
  191. Copy can do more than copy files from
  192. one disk to another.  Text files can
  193. also be copied to the printer.  Text
  194. files come in many flavors, depending
  195. on the programs which were used to
  196. create them, but there is a standard
  197. called ASCII files.  ASCII is used by
  198. programs which must interact with
  199. DOS, and is the format used for
  200. on-disk instructions offered with
  201. many programs.
  202.     Many ASCII text files end with
  203. .DOC, .TXT, .ME or .1ST.
  204.     You can copy an ASCII text file
  205. to the printer by specifying PRN as
  206. the destination.  Example:
  207.  
  208. COPY TOADS.TXT PRN
  209.  
  210.        [SHIFT] [PRINT SCREEN]
  211.  
  212. If you hold down either [Shift] key
  213. and press [Print Screen] whatever is
  214. currently shown on the computer
  215. monitor will be printed to paper.
  216. This works best with text-only
  217. programs. The results when using
  218. [Shift] [Print Screen] with graphics
  219. will vary with the type of printer
  220. you have and any software you may be
  221. currently running.
  222.  
  223.                  REN
  224.  
  225. REN renames files. Example:
  226.  
  227. REN FROGS.TXT TOADS.TXT
  228.  
  229. The file which used to be called
  230. FROGS.TXT will become TOADS.TXT.
  231.  
  232.                  DEL
  233.  
  234. DEL deletes files.  This is good,
  235. because your disks can eventually
  236. become full.  This is also dangerous
  237. because there are few safeguards.
  238. You can accidentally delete important
  239. files. (A good reason to use Copy and
  240. make back-ups on floppy disks
  241. frequently.)  To use DEL, simply type
  242. DEL followed by a space then the name
  243. of the file you want to get rid of:
  244.  
  245. DEL TOADS.TXT
  246.  
  247. In the above example TOADS.TXT
  248. disappears off the face of the earth
  249. forever.
  250.  
  251. With DEL you can also use wildcards.
  252.  
  253. Guess what happens if you type:
  254.  
  255. DEL *.*
  256.  
  257. Hint: Don't try this unless you have
  258. backed up ALL your files!  Still,
  259. don't try it!
  260.  
  261.                 TIME
  262.  
  263. If you type TIME on the command line,
  264. you get the current time.  Press
  265. [Enter] when done viewing the time.
  266. If you want to reset your computer's
  267. clock, type in a new time before
  268. pressing [Enter].  DOS keeps time in
  269. 24-hour format.  To set for 8pm, you
  270. type:
  271.  
  272. 20:00:00
  273.  
  274. since pm times are am times plus 12
  275. hours.
  276.  
  277.                 DATE
  278.  
  279. Date is just like time, but is for
  280. viewing or setting the date. Place
  281. dashes between the month, day and
  282. year.  Months earlier than October
  283. and days earlier than the 10th are
  284. typed with a leading zero.  The year
  285. is typed with just the last two
  286. digits.  To set April 2, 1996, type:
  287.  
  288. 04-02-96
  289.  
  290.         [CTRL] [ALT] [DELETE]
  291.  
  292. Situations in which the computer has
  293. a runaway failure and no longer
  294. responds are surprisingly common. The
  295. usual cause is a loop in which the
  296. computer is trying to perform some
  297. invisible task over and over again
  298. and gets so busy that you can't break
  299. in to stop it.
  300.     The most common reason is that
  301. you have typed a command that the
  302. current program you are using is not
  303. equipped to handle.  Often this is
  304. the fault of the program, not the
  305. user.  Modern software is very
  306. complex, with an almost unlimited
  307. number of possible events to handle.
  308.     A typical such case is where you
  309. have asked the program to make a
  310. paper copy, but the printer's power
  311. switch is turned off.  The program
  312. will keep sending data to the printer
  313. until the page is printed, even if it
  314. takes forever! Even the best, most
  315. expensive programs can fail
  316. sometimes.
  317.     Anyway, there are four ways you
  318. might be able to break the loop:
  319.  
  320. 1. Press the [Esc] key.  Esc stands
  321. for "escape" and this key is a way
  322. to get out of trouble, to decline
  323. options, to answer questions
  324. negatively, or to return to a
  325. previous level of choices.
  326.  
  327. 2. If [Esc] does not work then hold
  328. down the [Ctrl] key and press the
  329. [Pause/Break] key.
  330.  
  331. 3. If [Ctrl] [Break] doesn't do it,
  332. try holding [Ctrl] while you press
  333. the [C] key.
  334.  
  335. 4. If [Ctrl] [C] doesn't do it, hold
  336. down the [Ctrl], [Alt] and [Del] keys
  337. simultaneously. This is called
  338. "re-booting" and will cause the
  339. computer to drop everything, and
  340. restart from scratch.
  341.  
  342. 5. In the rare case where [Ctrl]
  343. [Alt] [Delete] doesn't even work,
  344. turn off the power to your computer,
  345. wait 30 seconds, then restart.
  346.  
  347.               MD/CD/RD
  348.  
  349. CD stands for Change Directory.  MD
  350. stands for Make Directory.  RD stands
  351. for Remove Directory.  Since modern
  352. hard disks can hold thousands of
  353. files, DOS provides a system of
  354. directories which are like
  355. folders in a filing cabinet.  Each
  356. directory can hold many files, which
  357. are separated from the files in other
  358. directories on the same disk.  For
  359. more information on Directories,
  360. return to the menu and see
  361. DIRECTORIES.
  362.  
  363. ____________________________________
  364.                         end of file.
  365.  
  366.  
  367.