R
Robert Eriksen
When I try to remove a device using DEVCON.EXE it seems to break up the
command in to several independent commands whenever there is a &-sign.
F.ex. I have a USB device with device instance ID:
USB\VID_0529&PID_0001\5&3A341374&0&2
But when I try to remove it this happens:
H:\wsh>devcon hwids USB\VID_0529*
USB\VID_0529&PID_0001\5&3A341374&0&2
Name: Hardlock USB 1.02
Hardware ID's:
USB\Vid_0529&Pid_0001&Rev_0100
USB\Vid_0529&Pid_0001
Compatible ID's:
USB\Class_ff&SubClass_00&Prot_00
USB\Class_ff&SubClass_00
USB\Class_ff
1 matching device(s) found.
H:\wsh>devcon remove USB\VID_0529&PID_0001\5&3A341374&0&2
No devices removed.
The system cannot find the path specified.
'3A341374' is not recognized as an internal or external command,
operable program or batch file.
'0' is not recognized as an internal or external command,
operable program or batch file.
'2' is not recognized as an internal or external command,
operable program or batch file.
So how do I tell DEVCON.EXE that the &-sign is part of the ID and should
be used to identify and remove the device?
/Robert
command in to several independent commands whenever there is a &-sign.
F.ex. I have a USB device with device instance ID:
USB\VID_0529&PID_0001\5&3A341374&0&2
But when I try to remove it this happens:
H:\wsh>devcon hwids USB\VID_0529*
USB\VID_0529&PID_0001\5&3A341374&0&2
Name: Hardlock USB 1.02
Hardware ID's:
USB\Vid_0529&Pid_0001&Rev_0100
USB\Vid_0529&Pid_0001
Compatible ID's:
USB\Class_ff&SubClass_00&Prot_00
USB\Class_ff&SubClass_00
USB\Class_ff
1 matching device(s) found.
H:\wsh>devcon remove USB\VID_0529&PID_0001\5&3A341374&0&2
No devices removed.
The system cannot find the path specified.
'3A341374' is not recognized as an internal or external command,
operable program or batch file.
'0' is not recognized as an internal or external command,
operable program or batch file.
'2' is not recognized as an internal or external command,
operable program or batch file.
So how do I tell DEVCON.EXE that the &-sign is part of the ID and should
be used to identify and remove the device?
/Robert