Commands Used in CONFIG.SYS Files

You can use the commands listed in the following table in CONFIG.SYS files.

Command

Purpose

break

Sets or clears extended CTRL+C checking. You can use this command at the command prompt or in a batch file.

buffers and
buffershigh1

Allocates memory for a specified number of disk buffers when the computer starts. The buffershigh form causes reserved memory to be taken out of the upper memory area. You can use these commands only in CONFIG.SYS.

country

Enables the operating system to use country-specific conventions for displaying dates, times, and currency; for determining the order by which characters are sorted; and for determining which characters can be used in filenames. You can use this command only in CONFIG.SYS.

device

Loads the device driver you specify into memory. You can use this command only in CONFIG.SYS.

devicehigh

Loads the device driver you specify into upper memory. You can use this command only in CONFIG.SYS.

dos

Specifies that the operating system should maintain a link to the upper memory area (UMA), load part of itself into the high memory area (HMA), or both. You can use this command only in CONFIG.SYS.

drivparm

Defines parameters for devices such as disk and tape drives when you start the operating system. You can use this command only in CONFIG.SYS.

fcbs or
fcbshigh1

Specifies the number of file control blocks (FCBs) that the operating system can have open at the same time. The fcbshigh form causes reserved memory to be taken out of the upper memory area. You can use these commands only in CONFIG.SYS.

files or
fileshigh1

Specifies the number of files that the operating system can access at one time. The fileshigh form causes reserved memory to be taken out of the upper memory area. You can use these commands only in CONFIG.SYS.

include

Includes the contents of one configuration block within another. You can use this command only in CONFIG.SYS.

install

Loads a memory-resident program into memory. You can use this command only in CONFIG.SYS.

lastdrive or
lastdrivehigh1

Specifies the maximum number of drives you can access. The lastdrivehigh form causes reserved memory to be taken out of the upper memory area. You can use these commands only in CONFIG.SYS.

menucolor

Sets the text and background colors for the startup menu. You can use this command only within a menu block in CONFIG.SYS.

menudefault

Specifies the default menu item on the startup menu and sets a time-out value, if desired. You can use this command only within a menu block in CONFIG.SYS.

menuitem

Defines up to nine items on the startup menu. You can use this command only within a menu block in CONFIG.SYS.

numlock

Specifies whether the NUMLOCK setting on the numeric keypad is set to ON or OFF. You can use this command only within a menu block in CONFIG.SYS.

rem

Enables you to include comments (remarks) or prevent commands in a batch program or CONFIG.SYS from running.

shell

Specifies the name and location of the command interpreter you want Windows 95 to use. You can use this command only in CONFIG.SYS.

stacks or
stackshigh1

Supports the dynamic use of data stacks to handle hardware interrupts. The stackshigh form causes reserved memory to be taken out of the upper memory area. You can use these commands only in CONFIG.SYS.

submenu

Defines an item on a startup menu that, when selected, displays another set of choices. You can use this command only within a menu block in CONFIG.SYS.

switches

Specifies special options. Used only in CONFIG.SYS.


1 Windows 95 automatically reserves memory in the upper memory area unless CONFIG.SYS contains the entry dos=noauto or if HIMEM.SYS and EMM386 are not loaded.

The following device drivers can be loaded in CONFIG.SYS using a device= statement.

Device driver

Description

display.sys

Enables you to display international character sets on EGA, VGA, and LCD monitors. This device driver must be loaded by a device or devicehigh command in CONFIG.SYS.

driver.sys

Creates a logical drive that you can use to refer to a physical floppy disk drive. This device driver must be loaded by a device or devicehigh command in CONFIG.SYS.

emm386.exe

Provides support for loading real-mode device drivers in the upper memory area if both EMM386.EXE and HIMEM.SYS are loaded with device= commands in CONFIG.SYS.

himem.sys

Himem is an extended-memory manager — a program that coordinates the use of your computer's extended memory, including the high memory area (HMA), so that no two applications or device drivers use the same memory at the same time. This device driver must be loaded by a device command in CONFIG.SYS, and the command line must come before any commands that start applications or device drivers that use extended memory.

keyboard.sys

Enables the operating system to use a keyboard other than the standard U.S. QWERTY keyboard layout. You can use this command only in CONFIG.SYS.

mscdex.exe

Provides access to CD-ROM drives.