I am at a loss. I have a virtial com port installed (COM35). if I look at the properties of it in Device Manage (Hardware IDs) the VID is 403 and the PID is 6001. The actual port number could change simply by unplugging the USB cable and plugging it in to a different USB port. The VID and PID, however, will stat the same.
Is there any way to write a script that will look through the WIM (or registry for that fact) and look for the VID and PID and return the resultant ComPort? I.E. If the actual ComPort# changes I can still find the ComPort# based on VID and PID?