Home > Commands A-M > Configuration I

INSTALL


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Loads a memory-resident program into memory when you start the operating system. You can use this command only in your CONFIG.SYS file.

Memory-resident programs stay in memory as long as your computer is on. They can be used even when other programs are active. You can use the INSTALL command to load operating system memory-resident programs.


Syntax

INSTALL=[drive:][\path\]filename parameters


Parameters
[drive:][\path\] (v4.0)
Specifies the location of the memory-resident program file.
filename (v4.0)
Specifies the name of the memory-resident program file.
parameters (v4.0)
Specifies any command-line information required by the memory-resident program.

Switches

none.


Related

none.


Notes

INSTALL does not create an environment for a program it loads. Therefore, slightly less memory is used if you load a program with INSTALL rather than from your AUTOEXEC.BAT file. Some programs might not run correctly if they are loaded with INSTALL. Do not use INSTALL to load programs that use environment variables or shortcut keys or that require COMMAND.COM to be present to handle critical errors.

Order of CONFIG.SYS processing All INSTALL commands are processed after any of the DEVICE commands and before the command interpreter is loaded. You cannot load a memory-resident program before a device driver loaded with the DEVICE command.


Examples

Suppose you want to install FASTOPEN.EXE, located in the DOS directory on drive C, from your CONFIG.SYS file instead of from your AUTOEXEC.BAT file or the command line. In addition, you want to specify that FASTOPEN is to track the opening of up to 100 files and directories on drive C. Include this in your CONFIG.SYS file:

    INSTALL=C:\DOS\FASTOPEN.EXE C:=100

Errorlevels

none.


Availability
External
DOS
v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
none
Windows NT
none