~ F il es COPY CON C:\CONFIG.SYS Inside Your Computer: 3 System FILES = 2 0 BUFFERS = 20 And HowThey Work CTRL-Z
C:\) u. nT" by:PetrBrym oCDLUMN (note: to type CTRL~Z hold down the CONTROL key & press Z) Badormissing command interpreter... insufficient file handles... badcommand The message "I file copied" appears. orfile name...where have youseen this? This copies the FILES and BUFFERS lines You may have deleted, modified or into a file called CONFlG.SYS directly from overwritten oneof three important your keyboard (the "CONsole"). system files: COMMAND.COM, Ifyou need to modify an existing CONFIG.SYS andAUTOEXEC.BAT. CONFlG.SYS file, use EDLIN (see your 100S COMPUTER DOS manual) or a text editor of your choice. This article describes the function of You must treat this file as a text file, not as a • ••••••• ••• •••• O t •• •••• •••• •• ••• ,., • •• " . these three important files, and how you can ..... , ., ,...... ,' , •• •• •• I • ••••••• •• • ",., ••• •• • •• • • • •• • • • word processing document (i.e. WordPerfect, safely change or replace them. The WordS tar, MS-Word). Ifyou save your COMMAND.COM file is loaded into DO NOT delete this file, or attempt to type it CONFlG.SYS file as some word processing memory when you turn on the system. Each or edit it with a word processor. document, it will not function properly. This time you start your machine, the operating is because it will contain word processing system (DOS) searches for a CONFlG.SYS If your COMMAND.COM does become formatting codes that DOS cannot read. file and, if it finds one, it references the damaged or deleted, you can boot your After you save your file as a text or non information contained in the file. Next,DOS machine with a backup disk (see Making a document, be sure NOTto save the file again searches for the AUTOEXEC.BAT file. If boatable backup disk latter in this article) as a word processing file when exiting your DOS finds an AUTOEXEC.BAT file, it and copy the COMMAND.COM file back to word processor. performs the commands in that file. your bootable disk. To copy this file from a floppy in drive A: to your hard disk C:, use AUTOEXEC.BAT CAUTION: Get some help before you the following command: work on these files, unless you feel very Commands to execute at comfortable with the information in this COPY A:\COMMAND.COM C:\ startup article. A good place to go for help is the AUTOEXEC.BAT is a text file New Hampshire Technology Transfer This makes a copy of COMMAND.COM in containing commands to be automatically Center. Call our toll free number at 1-800 the root directory of drive C:. executed when youstart your computer. The 423-0060. DOS command PROMPT $P$G is often ' CONFIG.SYS found in the AUTOEXEC.BAT so that the COMMAND.COM Configuration, System re command prompt reflects the current drive Basic commands in memory and directory (e.g., C\:wp51» . source allocation COMMAND.COM is the DOS CONFlG.SYS is a text file containing a command interpreter which provides you One of the most important commands to description of resources and devices to be with the basic DOS commands such as include in the AUTOEXEC.BAT file is the made available to the computer. Among COPY, DEL, and RENAME. This file must PAm command: other things, this file specifies the number of be present in the root directory of your hard files and buffers that computer programs (i.e. disk (usually the root directory on your hard PATH = C:\;C:\DOS;C:\WP your word processor or spreadsheet) can use drive is C:\), or in the root directory (A:\) on at the same time. Without specifying the your floppy bootable disk at the time you This PAm command lists all the correct number of files in the CONFlG.SYS turn on and start up your computer. During directories the computer should search for file, for example, when you try to run this process, vital commands are loaded into programs. The PAm command makes it WordPerfect 5.0, the program will fail with the computer's temporary memory or easier to use your machine. Because the WP the following message: "Insufficient file "RAM" (this stands for Random Access subdirectory is listed in the PATH command, handles to run WordPerfect." In its simplest Memory). If the COMMAND. COM file is executed at startup by AUTOEXEC.BAT, form, the CONFlG.SYS file would look like missing from the root directory or damaged the computer will find the program and run it the one shown below: the error message''Bad or missing com when you type "WP" even if you are not mand interpreter" appears. Also, be sure currently in the WP subdirectory. by that the COMMAND. COM file is the correct FILES = 20 contrast, when you type "DBASE", the version (you can type VER to see what . BUFFERS = 20 program will not run unless you first set version of DOS you are running). The default to the DBASE subdirectory by typing Keep a copy of your CONFlG.SYS file wrong version COMMAND. COM can couse "cd DBASE" at the DOS prompt to change basic commands suchas FORMAT not to ' on the same backup disk that contains a copy directory. When the AUTOEXEC.BAT file of your COMMAND.COM, so you can copy work. Without the proper is accidentally deleted or damaged, your it to your working bootable disk if necessary. COMMAND.COM you will not .be able to machine will appear to respond differently to ) Ifyou do not have a CONFlG.SYS file you use your Jilachine because the basic com your commands, and you will have to work can make one by typingthe.following line mands loaded into memory from harder to use your machine. You should and pressing
FORMAT A: /S
This formats the disk and copies the system, i.e, COMMAND.COM and the two hidden files to the floppy.
To make a bootable backup disk with COMMAND.COM, CONFIG.SYS, and AUTOEXEC>BAT, follow the directions SEPARATION above, and then type:
COpy C:\AUTOEXEC.BAT A: COPY C:\CONFIG.SYS A: Surface water moving Remove the disk from drive A:. Place a into the cleanbasedrains write -protect tab over the notch in the disk off laterally (5.25" disk). Slide the write protect slider to open (3.5" disk). Label the disk, "BACKUP g BOOTABLE DISK." Store the disk in a safe place.
Edited and reprinted from on-line, Vol. 16, No.1, Fall 1991, a publication of Computing and Information services, University of New Hampshire. _ DRAINAGE
page 6