Type: Internal (5.0 and later)
DEVICE [/L:region, min;region,min...] [/S] =[d:][\path]\filename
DEVICE [size=hexsize] [d:][\path]\filename [parameters]
Purpose: Used in the CONFIG.SYS file to load device drivers into
Before DOS can load a device driver into upper memory, there must be an
memory block (UMB) provider (such as EMM386) available and there must be
space in that UMB. If there is not enough space in the UMB, the device
will be loaded into conventional memory. You can check to see which
drivers have been loaded into high memory by using the /MEM /C command.
DOS executes device drivers in the order in which they appear in the
file. For some device drivers the order of execution is important.
If you load a device driver into high memory and then find that your
not boot, you can press the F5 key to bypass the CONFIG.SYS file or you
press F8 to choose, interactively, the CONFIG.SYS lines you want to
(This feature is available only with DOS Version 6. If you are using an
earlier version of DOS, you can use a bootable disk from the floppy drive
bypass the problem CONFIG.SYS file.)
For more information on the DEVICEHIGH command, refer to Chapter 6, Tips
The following is a list of the device drivers provided with MS-DOS that
loaded into high memory:
parameters Used to specify any parameters required by the device
They are passed by DOS to the driver when it is loaded into memory.
/L:region, min - Available with DOS Version 6, this option specifies
region in upper memory and the minimal size in bytes which the device
should occupy. More than one region can be specified if you separate
region with a semicolon. This option must precede the filename of the
/S - Available with DOS Version 6, tells DOS to shrink the UMB to the
specified by the /L option and create a new UMB from the remainder. This
must precede the filename of the device driver.
size=hexsize - Available with DOS Version 5 and later, this option
the minimum size memory block into which DOS should attempt to load the
This option must precede the filename of the device driver.
To use the file ANSI.SYS as the standard device driver and to load it
upper memory area, enter the following line in your CONFIG.SYS file:
Back to the