Hello All,
I have a USB to RS-232 device which I use to communicate with various equipment. However, whenever I plug it into a USB port then COM port number changes from the last time I plugged it in, for example, yesterday it registered as COM1 and today it is COM8.
Now, I know I can go into the device manager and change it manually, but that is a pain. I would like to write a script that I can run and it will look for my device, get its assigned com port number and change it to the number I want (for example, I always want it to be COM1).
The reason I need this is because I am using a commercial application that is set to use only that particular com port.
So, where do I start?
Thanks,
Sean