diff options
| author | Tim Felser <[email protected]> | 2017-08-25 16:42:50 +0200 |
|---|---|---|
| committer | Tim Felser <[email protected]> | 2017-08-25 16:42:50 +0200 |
| commit | 389bdb217d54112d96b40bc967f86b17a605bed6 (patch) | |
| tree | f8c51a8b5ee12a196cd53742d699a269034debce /setup/devcon/msg.mc | |
| parent | f0fbfbdba856bb905a6466d47bd760cf8622ec0f (diff) | |
Added a new command "removeall"
Just like "findall" corresponds to "find" this new command acts like "remove" but it will also remove non-present devices.
So it is easy to remove all instances of an USB driver.
Diffstat (limited to 'setup/devcon/msg.mc')
| -rw-r--r-- | setup/devcon/msg.mc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/setup/devcon/msg.mc b/setup/devcon/msg.mc index a3c677e9..ca348bde 100644 --- a/setup/devcon/msg.mc +++ b/setup/devcon/msg.mc @@ -811,6 +811,27 @@ MessageId=61204 SymbolicName=MSG_REMOVE_TAIL Language=English %1!u! device(s) were removed. . +MessageId=61205 SymbolicName=MSG_REMOVEALL_LONG +Language=English +Devcon Removeall Command +Removes devices with the specified hardware or instance ID, including devices +that are not currently attached. Valid only on the local computer. +(To reboot when necesary, Include -r .) +%1 [-r] %2 <id> [<id>...] +%1 [-r] %2 =<class> [<id>...] +<class> Specifies a device setup class. +Examples of <id>: + * - All devices + ISAPNP\PNP0501 - Hardware ID + *PNP* - Hardware ID with wildcards (* matches anything) + @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) + '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, + including the asterisk.) +. +MessageId=61206 SymbolicName=MSG_REMOVEALL_SHORT +Language=English +%1!-20s! Remove devices, including those that are not currently attached. +. ;// ;// RESCAN |
