I guess the same goes for PNPDeviceID. Btw I found what the problem was with Devcon remove ID. Passing the $objItem.DeviceID to Devcon, for some reason the ID gets's split by the & marks. Even if you pass it as CStr($objItem.DeviceID).... Is this Kix behaviour ?
because devcon will then continue to remove each splitted string and anything that maches it. That why ALOT of stuff gets removed. [edit] No it's definately not kix behaviour, in CMD if you type the command manually it does the same.
Devcon Remove PCI\VEN_10DE&DEV_0322&SUBSYS_00000000&REV_A1\4&38B71F77&0&0008
but then: Devcon Remove "PCI\VEN_10DE&DEV_0322&SUBSYS_00000000&REV_A1\4&38B71F77&0&0008"
Removes nothing :/
Edited by apronk (2006-02-08 02:56 PM)
|