The Device Driver Copy (ddcopy.exe) utility can copy only those drivers in the driver set that support a specific machine.
When you issue a ddcopy command against a directory that contains device-driver directories. Ddcopy copies all of the device drivers that are specific to the specified machine types and any other files located in the drv directory to the new location.
The SupportedSystems keyword in the drvset.ini file is modified to reflect the new machine list.
ddcopy <source_path> <destination_path> [/M:machine_types or platform_ids]
[/C:category] | [/V:n] [/?]
Parameter | Description |
---|---|
|
Defines the fully qualified path to the directory that contains the device-driver directories and the drvset.ini file. |
|
Specifies the fully qualified path of the target directory for copying the device drivers. |
|
Specifies machine types or platform IDs to limit the number of drivers that are copied. Multiple machine types or platform IDs are allowed when delimited by commas. |
|
Specifies the driver categories to limit the device
drivers to be copied. Multiple categories can be specified using a
comma as the delimiter. If omitted, then all the device driver categories
are copied. Valid values are:
|
|
Specifies the verbose level used to report status
during the deployment process. Valid values for n are:
|
Value | Description |
---|---|
0 | Success |
1 | Syntax error |
2 | Program error |
3 | Failed to copy |
4 | Machine type or platform ID not found |
5 | Destination is read-only |
6 | File not found |
Example | Description |
---|---|
|
Copies all the drivers from the d:\drivers\$oem$\$1\drv directory to the c:\wininst\$oem$\$1\drv directory |
|
Copies the drivers that are specifically for machine type 8832 from the d:\drivers\$oem$\$1\drv directory to the c:\wininst\$oem$\$1\drv directory and updates the supported systems field in the drivers' DrvInfo.ini file and the c:\wininst\$oem$\$1\drv\drvset.ini file. |
|
Copies the drivers for machine type 8832 and machine type 8865 from the d:\drivers\$oem$\$1\drv directory to the c:\wininst\$oem$\$1\drv directory and updates the supported systems field in the drivers' DrvInfo.ini file and the c:\wininst\$oem$\$1\drv\drvset.ini file. |
|
Copies the Network and Video drivers specific to the machine type 8832 from the d:\drivers\$oem$\$1\drv directory to the c:\mydrvs directory and updates the supported systems field in the drivers' DrvInfo.ini file as well as the c:\mydrvs\drvset.ini file. |