home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / DOS_HELP / EDOS.ZIP / EDOS.DOC next >
Encoding:
Text File  |  1990-04-29  |  14.0 KB  |  304 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                     >>>>>>> THE ESSENTIAL DOS MANUAL. <<<<<<<
  25.  
  26.  
  27.  
  28.          The very basic information you need to run an MS-DOS computer.
  29.  
  30.  
  31.  
  32.  
  33.                             Written by: David Postler
  34.  
  35.  
  36.  
  37.  
  38.                                  Copyright 1990
  39.  
  40.  
  41.  
  42.  
  43.         Table of Contents.
  44.  
  45.         Introduction . . . . . . . . . . . . . . . . . . . . .  1
  46.  
  47.         What is DOS . . . . . . . . . . . . . . . . . . . . . . 1
  48.  
  49.         Your Hard and Floppy Disks . . . . . . . . . . . . . .  1
  50.  
  51.         File Names. . . . . . . . . . . . . . . . . . . . . . . 1
  52.  
  53.         Subdirectories. . . . . . . . . . . . . . . . . . . . . 1
  54.  
  55.         Paths . . . . . . . . . . . . . . . . . . . . . . . . . 2
  56.  
  57.         Essential DOS files . . . . . . . . . . . . . . . . . . 2
  58.  
  59.         Basic DOS Commands. . . . . . . . . . . . . . . . . . . 2
  60.  
  61.         Learning More . . . . . . . . . . . . . . . . . . . . . 4
  62.  
  63.         Essential DOS.  By David Postler. April 3, 1990
  64.  
  65.  
  66.  
  67.              -----Introduction.-----
  68.  
  69.         For  all you people who say; "I don't have time to learn  how  to
  70.         use a computer."  This is the manual for you.  It will teach  you
  71.         basics  of how to use a DOS computer.  This will allow you to  do
  72.         basic  DOS operations and give a very basic explanation  of  what
  73.         the  computer is and how DOS works.  At the end I  have  included
  74.         some  information  to  allow  you  to  go  further  if  you   are
  75.         interested.
  76.  
  77.              -----What Is DOS.-----
  78.  
  79.         DOS stands for Disk Operating System and is the basic program  in
  80.         your computer.  When a computer is first turned on it is  nothing
  81.         but  an  expensive paperweight.  DOS tells the  computer  how  to
  82.         respond to the keyboard, display characters on the monitor, print
  83.         characters  using the printer, and how to get the files from  the
  84.         hard and floppy disks.  It is assisted by the ROM memory in  your
  85.         computer.  In other words DOS handles all the "grunt" work in the
  86.         computer.
  87.  
  88.              -----Your Hard  and Floppy Disks.-----
  89.  
  90.         The  hard disk is very large electronic file cabinet that  stores
  91.         programs and data for your computer.  Think of the hard disk as a
  92.         filing  cabinet and you will not be far off.  The advantage of  a
  93.         hard  disk over floppy disk is speed and convenience.   The  hard
  94.         disk  will  retrieve the information faster and  with  less  disk
  95.         shuffling.    Floppy  disks  also  store  information  with   the
  96.         difference being that they are can be removed from the  computer.
  97.         They  are  also  the primary method  for  transferring  data  and
  98.         programs from one computer to another.  A drive is specified by a
  99.         letter  followed by a colon ie C: is usually your hard  drive  if
  100.         you have one floppy drive it is usually called A: and if you have
  101.         a second floppy drive it is called B: you may use either upper or
  102.         lower case letters to specify a drive.
  103.  
  104.              -----File Names.-----
  105.  
  106.         A  file  name consists of three parts and is used  to  specify  a
  107.         unique  file  name.  The first part of the name is  a  Drive  and
  108.         directory  specification usually called a "path" this  tells  the
  109.         computer  where  to look for the file and may be omitted  if  the
  110.         computer  is already located in the proper directory.   The  next
  111.         part  of  the  file  is the file name this can  be  up  to  eight
  112.         characters  long and may not include spaces or some of the  other
  113.         punctuation  characters.  The best bet is to stick  with  letters
  114.         and numbers unless you are sure.  Next comes a period followed by
  115.         the extension, the extension tells the computer what type of file
  116.         the name specifies.  Extensions use the same rules for characters
  117.         as  file  names.  Some common extensions are "COM" or  "EXE"  for
  118.         program  files and "BAT" for group command files, "TXT" or  "DOC"
  119.         for word processing and "WK1" for spreadsheet data.
  120.  
  121.  
  122.  
  123.                                         1
  124.  
  125.         Essential DOS.  By David Postler. April 3, 1990
  126.  
  127.  
  128.              -----Subdirectories.-----
  129.  
  130.         A  hard disk can store a large amount of information, to make  it
  131.         easier  to find this information you can create  a  subdirectory.
  132.         This  is  just  like making a new file folder up  for  your  file
  133.         cabinet.   you may also make up many levels of subdirectories  to
  134.         keep  track  of  you files ie \WORK\LETTERS  means  to  take  the
  135.         subdirectory  WORK and find another subdirectory LETTERS  in  the
  136.         WORK subdirectory.  The \ character separates the a  subdirectory
  137.         names.  Don't worry it is easier than it sounds.
  138.  
  139.              -----Paths.-----
  140.  
  141.         The  path  command tells the computer where to look on  the  hard
  142.         disk for a program.  It is the computer equivalent of saying  "If
  143.         you  don't find the file on the desk look in the  file  cabinet."
  144.         It is almost that easy to use the command.  It must be run before
  145.         starting  programs  that are not in the directory and  should  be
  146.         part of your AUTOEXEC.BAT file.  It run by entering the word path
  147.         followed  by  the  directory you want to  look  in  separated  by
  148.         semicolons.  Here is an example path command:
  149.              PATH=C:\;C:\MSDOS;
  150.         This command tells the computer to look in the root directory and
  151.         the  directory called MS-DOS for a program if it cannot be  found
  152.         in  the  current  directory.  To see the  current  path  for  the
  153.         compute must type PATH at the DOS prompt and press Enter.
  154.  
  155.  
  156.              -----Essential DOS Files.-----
  157.  
  158.         There  are  five essential files used for DOS the first  two  are
  159.         invisible  to you and are called IO.COM and DOS.COM  these  files
  160.         have  the basic information for DOS and are loaded once when  you
  161.         turn on the computer.  They are called system files and are  made
  162.         invisible on standard directory displays.  The rest of the  files
  163.         are all visible on directory listings.  They are normally kept in
  164.         the root directory and should not be moved or changed unless  you
  165.         know  what you are doing.  The first file is  called  COMMAND.COM
  166.         this  is  the file that takes what you type at the  keyboard  and
  167.         processes your request either by itself or calling other programs
  168.         as  needed.   The next file is called the CONFIG.SYS  file,  this
  169.         file handles can configure you computer to accept special  device
  170.         drivers  for  special functions and allow you to work  with  more
  171.         files at one time than standard DOS.  The last file essential  to
  172.         DOS  is  the  AUTOEXEC.BAT file.  this file  executes  a  special
  173.         series of commands when you turn on the computer.  These commands
  174.         typically  set  your path, set the time and date if  needed,  and
  175.         start  you most used application or a menu system to select  your
  176.         application.   This file while it should be treated with  respect
  177.         may  be modified if your needs change without too  much  trouble.
  178.         Of course there are many other files on your hard disk but  these
  179.         five are the only ones that are essential to run DOS.
  180.  
  181.  
  182.  
  183.  
  184.  
  185.                                         2
  186.  
  187.         Essential DOS.  By David Postler. April 3, 1990
  188.  
  189.  
  190.              -----Basic DOS Commands.-----
  191.  
  192.         While  a  fully  equipped  computer can  have  over  one  hundred
  193.         programs  you will only need to know about seven programs to  use
  194.         the computer well.  All of these commands use the same format:
  195.         command <filename> options
  196.         The press the Enter key to execute the command.  The options  may
  197.         be typed in UPPER or lower case or MixED case.  The computer will
  198.         understand.   Be  aware that some other programs may  not  be  so
  199.         tolerant  if you have trouble consult the instructions  for  that
  200.         program.   A  file  name consists of and  optional  drive  letter
  201.         followed  by a colon, a path name surrounded by \ characters  and
  202.         name  and extension of the file.  In addition a file name can  be
  203.         used to specify a group of files by using "wildcards" in the file
  204.         name.   The first wildcard is the * this means anything ie  *.exe
  205.         means  all file with an extension of exe, t*.txt means  any  text
  206.         files that start with a t, you may only use one * on each side of
  207.         the  .  *.* means all files.  The second wildcard is the  ?  this
  208.         means any character ie exp??.txt means and file starting with exp
  209.         have two characters and an extension of txt.
  210.  
  211.         The first command is the DIR command, this command shows you  the
  212.         and  subdirectories  in  the current  subdirectory  to  use  this
  213.         command  just type DIR press the Enter key and the computer  will
  214.         show  you  the file names and some other  information  about  the
  215.         files.   If you have more than 20 files in a directory  you  will
  216.         find that the information will go off the screen faster than  you
  217.         can  read  it  you have three options.  Add a  "/W"  to  the  dir
  218.         command  like  this  DIR /W.  This will display the  files  in  a
  219.         condensed format 4 across on the screen.  You can also add a "/P"
  220.         command  to  the which will cause the directory to  display  file
  221.         information one screen at a time and will ask you to press a  key
  222.         before displaying the next screen.  You may also use a file  name
  223.         with  wildcards  to  display  any  files  matching  a  particular
  224.         pattern.   You  may  use all any or options  together  with  this
  225.         command.
  226.  
  227.         The  COPY  command  is the next essential  command  this  command
  228.         allows you to make a copy of a file or group of files just as you
  229.         would  copy  a piece of paper on a copy machine.  To  copy  using
  230.         this  command type COPY FILE1.TXT FILE2.TXT and press  the  Enter
  231.         key.   This will copy FIlE1.TXT to another file named  FILE2.TXT.
  232.         You  may  also  copy  files from  one  directory  to  another  by
  233.         specifying directory COPY \OLDDIR \NEWDIR will copy all the files
  234.         from  the  \OLDDIR directory to the \NEWDIR directory.   You  may
  235.         also copy from one disk to another by using COPY A:FILE3.EXE C:
  236.         the will copy a file from the floppy disk to the hard disk.   You
  237.         also may use wildcards and path names to specify a group of files
  238.         with  this  option  making  it easy to  transfer  data  from  one
  239.         computer to another using a floppy disk.
  240.  
  241.         DEL  is the next command to learn this command erases files  from
  242.         the  disk.  It can be used with either single files or groups  of
  243.         files.  To delete a file type DEL FILE1.TXT, and the file will be
  244.         deleted  from the disk.  To delete a group of files type  a  name
  245.  
  246.  
  247.                                         3
  248.  
  249.         Essential DOS.  By David Postler. April 3, 1990
  250.  
  251.  
  252.         with wildcards.  For example DEL *.BAK deletes all files with  an
  253.         extension of BAK from the drive.
  254.  
  255.         TYPE  allows you to display the contents of a file.  To use  this
  256.         command enter TYPE FILE1.TXT.  You cannot use wildcards with this
  257.         command.  If you wand to hold the file press the Pause key.  This
  258.         will  vary  on  different keyboards so consult  your  manual  for
  259.         details.   To quit in the middle of a file press the  Break  key.
  260.         This  command will only let you see a file, it will to allow  you
  261.         to change it.
  262.  
  263.         The  last three commands are used with subdirectories  and  allow
  264.         you  to  handle them as needed.  All the commands  use  a  common
  265.         format.   MD  path name allows you to make  a  subdirectory,  you
  266.         specify  a  path  name like MD \SALES\WEST  to  create  a  second
  267.         subdirectory called WEST in the SALES subdirectory.  You may have
  268.         many  levels of subdirectories.  To change from one  subdirectory
  269.         to another use the CD command with the path name CD \  moves  you
  270.         to  the  root directory.  CD \SALES\WEST will move you  the  west
  271.         subdirectory of the sales subdirectory.  If you want to remove  a
  272.         subdirectory use the RD command AFTER you delete all the files in
  273.         the   subdirectory.   RD  \SALES\WEST  would  remove   the   WEST
  274.         subdirectory  provided  all the files have been  deleted  in  the
  275.         subdirectory.   If you want to see what subdirectory you  are  in
  276.         type CD without a path name to find out what subdirectory you are
  277.         in.
  278.  
  279.              -----Learning More.-----
  280.  
  281.              There are quite a few books out to help you learn more about
  282.         DOS.   Start with your computer reference manuals, many  versions
  283.         of  DOS have slight differences and these books are the  ultimate
  284.         authority for your computer.  Not be overlooked is the fact  that
  285.         they  are  included with the computer so you do not have  to  buy
  286.         anything.   If you want to buy a book on DOS the one I  recommend
  287.         is  "Running MS-DOS" by Van Wolverton.  The QUE reference  series
  288.         of  books  are  also very helpful and compact they  make  a  good
  289.         addition to regular manuals if you travel.  Don't forget computer
  290.         magazines.   You can find a gold mine of information in  some  of
  291.         these magazines I recommend PC Resource to start.  This  magazine
  292.         manages  to  provide helpful and  understandable  information  to
  293.         beginners as well as useful information for an experienced  user.
  294.         There are also some programs out there to train you on how to use
  295.         a computer.  You might want to try them.
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.                                         4
  310.  
  311.  
  312.