Device

Loads the device driver you specify into memory.

Syntax

device=[Drive:][Path] FileName [dd-parameters]

Parameters

[Drive:][Path] FileName : Specifies the location and name of the device driver you want to load. Filename is required.

[dd-parameters] : Specifies any command-line information required by the device driver.

/? : Displays help at the command prompt.

Remarks

Use the systemroot\System32\Config.nt file, or the equivalent startup file specified in a program's program information file (PIF), to load device drivers for the MS-DOS subsystem.

Examples

To use an ANSI escape sequence to control the screen and keyboard for the MS-DOS subsystem, type the following in your Config.nt or equivalent startup file:

device=c:\winnt\system32\ansi.sys

Formatting legend

FormatMeaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Devicehigh

Command-line reference A-Z



© 2014 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies