Hardware Reference
In-Depth Information
Command
Function
DEVICE=C: \ DOS \ ANSI.SYS
selects the ANSI.SYS screen driver (the ANSI.SYS file must be
present in the DOS directory).
DEVICE=C: \ WINDOWS \ HIMEM.SYS
selects the Windows extended memory manager HIMEM.SYS (the
HIMEM.SYS file must be present in the WINDOWS directory).
DEVICE=C: \ DOS \ DISPLAY.SYS CON=(EGA,850,2)
selects the DOS display driver and switches it to multilingual EGA
mode (code page 850) with up to two code pages.
Drivers often provide a number of 'switches' which allow you to
optimize them for a particular hardware configuration. Always
consult the hardware supplier's documentation to ensure that you
have the correct configuration for your system.
You may find it handy to locate all of your drivers in a common
directory called DRIVERS, DEVICE, or SYS. This will keep them
separate from applications and help you to find them at some
later date.
Finally, note that you can load as many device drivers as you need,
but you must use a separate DEVICE line for each driver.
Example:
DEVICE = C: \ DRIVERS \ ANSI.SYS
DEVICE = C: \ DRIVERS \ CDROM.SYS
Sets the number of file control blocks that DOS can have open at
any time (note that this command is now obsolete).
FCBS
Sets the maximum number of files that DOS can access at any time.
FILES
Installs memory-resident programs.
Example:
INSTALL = C: \ DOS \ FASTOPEN.EXE C:=100
installs the DOS FASTOPEN utility and configures it to track the
opening of up to 100 files and directories on drive C:.
Slightly less memory is used when memory-resident programs are
loaded with this command than with AUTOEXEC.BAT. Don't,
however, use INSTALL to load programs that use environment
variables or shortcut keys or that require COMMAND.COM to be
present to handle critical errors.
INSTALL
LASTDRIVE Specifies the highest disk drive on the computer.
Treates a line as a comment/remark.
REM
Determines the DOS command processor (e.g. COMMAND. COM).
SHELL
Sets the number of stacks that DOS uses.
STACKS
Disables extended keyboard functions.
SWITCHES
Search WWH ::




Custom Search