DevCon Dp_add
Note
PnPUtil ships with every release of Windows and makes use of the most reliable and secure APIs available. We recommend using PnPUtil instead of DevCon. See the Recommended replacement below and Replacing DevCon for more information.
Adds a third-party (OEM) driver package to the driver store on the local computer.
devcon dp_add inf
Parameters
inf
The fully qualified path and name of the INF file for the driver package.
Recommended replacement
pnputil /add-driver inf
For more recommended replacements, see Replacing DevCon.
Comments
A DevCon dp_add command copies the specified INF file to the %windir%/Inf directory and renames it OEM*.inf. This file name is unique on the computer and you cannot specify it.
If this INF file already exists in %windir%/Inf (as determined by comparing the binary files, not by matching the file names) and the catalog (.cat) file for the INF is identical to a catalog file in the directory, the INF file is not recopied to the %windir%/Inf directory.
This command calls the SetupCopyOEMInf function with no CopyStyle flags. SetupCopyOEMInf is described in the Microsoft Windows SDK documentation.
Sample usage
devcon dp_add C:\WinDDK\5322\src\general\toaster\inf\i386\toaster.inf