Programming Field

Adddrv - DOS/Command Prompt Reference

[MS-DOS, Windows 95/98/Me] Reads a file containing ‘device’ or ‘devicehigh’ commands, and loads the devices specified in that file.

Syntax

adddrv[.exe] <file-name>
<file-name> Specifies the file name containing ‘device’ or ‘devicehigh’ commands, which loads the device.

Details

This command is used to dynamically load device files (character device drivers) that were not loaded in ‘config.sys’.

To unload drivers loaded by this command, you can use Deldrv.

Samples

Sample

adddrv C:\WINDOWS\COMMAND\DOSIME.SYS

Loads C:\WINDOWS\COMMAND\DOSIME.SYS and reads the devices written in it.
(C:\WINDOWS\COMMAND\DOSIME.SYS typically contains something like the following:)

DEVICEHIGH=C:\WINDOWS\COMMAND\MSIME.SYS
DEVICEHIGH=C:\WINDOWS\COMMAND\MSIMED.SYS