```
Device Console Help:
devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...]
-r Reboots the system only when a restart or reboot is required.
<machine> Specifies a remote computer.
<command> Specifies a Devcon command (see command list below).
<arg>... One or more arguments that modify a command.
For help with a specific command, type: devcon.exe help <command>
classfilter Add, delete, and reorder class filters.
classes List all device setup classes.
disable Disable devices.
driverfiles List installed driver files for devices.
drivernodes List driver nodes of devices.
enable Enable devices.
find Find devices.
findall Find devices, including those that are not currently attached.
help Display Devcon help.
hwids List hardware IDs of devices.
install Install a device manually.
listclass List all devices in a setup class.
reboot Reboot the local computer.
remove Remove devices.
rescan Scan for new hardware.
resources List hardware resources for devices.
restart Restart devices.
sethwid Modify Hardware ID's of listed root-enumerated devices.
stack List expected driver stack for devices.
status List running status of devices.
update Update a device manually.
updateni Manually update a device (non interactive).
dp_add Adds (installs) a third-party (OEM) driver package.
dp_delete Deletes a third-party (OEM) driver package.
dp_enum Lists the third-party (OEM) driver packages installed on this machine.
如果需要具体的查看某个指令,可以使用如下指令
devcon.exe help <command>
eg:
>"C:\Program Files\TAP-Windows\bin\devcon.exe" help install
Devcon Install Command
Installs the specified device manually. Valid only on the local computer.
(To reboot when necesary, Include -r .)
devcon.exe [-r] install <inf> <hwid>
<inf> Specifies an INF file with installation information for the device.
<hwid> Specifies a hardware ID for the device.
-r Reboots the system only when a restart or reboot is required.
```
windows下的另一个辅助工具Devcon.exe(用会了绝对是神器)
猜你喜欢
转载自blog.csdn.net/weixin_39568531/article/details/103770569
今日推荐
周排行