home *** CD-ROM | disk | FTP | other *** search
-
- AUTOEXEC.BAT
-
-
- PURPOSE:
- The autoexec.bat file is a batch file that performs
- any set of commands you would normally give when you
- start up your computer.
-
-
- NOTE:
- Unless you have an installed clock in your computer, it
- would be a good idea to include the "time" and "date"
- commands in your autoexec.bat file. By doing this,
- every time that you boot up your computer, it will
- prompt you for the time and date. Therefore, the time
- and date for the directory on your disk is kept current.
-
-
- EXAMPLES:
- A simple autoexec.bat file:
-
- date
- time
- prompt=$p$g
- dir
-
- In this sample autoexec.bat file, which is a simple
- batch file, the "date" and "time" commands ask you
- to set the date and time each time you start DOS on
- your computer. The command "prompt=$p$g" tells DOS
- to display the default drive and directory, followed
- by a greater than sign (>), as the DOS prompt. This
- prompt helps you to remember what drive and directory
- you are currently working in. The "dir" command
- displays the default directory of the disk in the
- default drive whenever you start up your computer.
-
-
- CONFIG.SYS
-
- Purpose:
- Each time you start up DOS on your computer, it
- automatically searches for the file called config.sys
- on your system disk. The config.sys file contains
- special commands that let you set up, or configure,
- DOS for use with devices or application programs.
-
-
- EXAMPLE:
- Your config.sys should contain the following two
- commands. However, it is ok if it contains more than
- these two commands:
-
- buffers=20
- files=20
-
- NOTE:
- The command buffers=20 sets the number of blocks
- of memory, or buffers, that DOS uses to store data.
- If you have a large directory system, you might
- want to increase the buffers number setting, for
- example, buffers=40.
-
- The second command in the config.sys file is
- files=20. This command sets the amount of files
- that DOS can have open at the same time. If you
- don't set a value for files in your config.sys,
- DOS assumes a value of 8, which isn't enough open
- files for a large program such as a spreadsheet.
- Since programs such as databases and spreadsheets
- need several open files while they are running, so
- it is important to set a value for files.
-