home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / educatio / dosguide.zip / 17.DOC < prev    next >
Text File  |  1992-03-28  |  3KB  |  75 lines

  1.  
  2. AUTOEXEC.BAT
  3.  
  4.  
  5.       PURPOSE:
  6.               The autoexec.bat file is a batch file that performs
  7.               any set of commands you would normally give when you
  8.               start up your computer.
  9.  
  10.  
  11.       NOTE:
  12.            Unless you have an installed clock in your computer, it
  13.            would be a good idea to include the "time" and "date"
  14.            commands in your autoexec.bat file.  By doing this,
  15.            every time that you boot up your computer, it will
  16.            prompt you for the time and date.  Therefore, the time
  17.            and date for the directory on your disk is kept current.
  18.  
  19.  
  20.       EXAMPLES:
  21.                A simple autoexec.bat file:
  22.  
  23.                      date
  24.                      time
  25.                      prompt=$p$g
  26.                      dir
  27.  
  28.                In this sample autoexec.bat file, which is a simple
  29.                batch file, the "date" and "time" commands ask you
  30.                to set the date and time each time you start DOS on
  31.                your computer.  The command "prompt=$p$g" tells DOS
  32.                to display the default drive and directory, followed
  33.                by a greater than sign (>), as the DOS prompt.  This
  34.                prompt helps you to remember what drive and directory
  35.                you are currently working in.  The "dir" command
  36.                displays the default directory of the disk in the
  37.                default drive whenever you start up your computer.
  38.  
  39.  
  40. CONFIG.SYS
  41.  
  42.       Purpose:
  43.               Each time you start up DOS on your computer, it
  44.               automatically searches for the file called config.sys
  45.               on your system disk.  The config.sys file contains
  46.               special commands that let you set up, or configure,
  47.               DOS for use with devices or application programs.
  48.  
  49.  
  50.       EXAMPLE:
  51.               Your config.sys should contain the following two
  52.               commands.  However, it is ok if it contains more than
  53.               these two commands:
  54.  
  55.                       buffers=20
  56.                       files=20
  57.  
  58.               NOTE:
  59.                    The command buffers=20 sets the number of blocks
  60.                    of memory, or buffers, that DOS uses to store data.
  61.                    If you have a large directory system, you might
  62.                    want to increase the buffers number setting, for
  63.                    example, buffers=40.  
  64.  
  65.                    The second command in the config.sys file is 
  66.                    files=20.  This command sets the amount of files
  67.                    that DOS can have open at the same time.  If you
  68.                    don't set a value for files in your config.sys,
  69.                    DOS assumes a value of 8, which isn't enough open
  70.                    files for a large program such as a spreadsheet.
  71.                    Since programs such as databases and spreadsheets
  72.                    need several open files while they are running, so
  73.                    it is important to set a value for files.
  74.  
  75.