I am using a USB device that emulates a serial port. I need the device to be assigned to COM1 everytime it is plugged in. Is there a way to programmatically clear COM1 and then reassign my device to COM1 upon request?
When I plug the device into various machines, it will obtain which ever COM port is free and it is usually not COM1. I am told by my superiors that I can bump any devices off of COM1, so I do not have to worry about that.
Any help would be appreciated.