COM conection

Hello ! Can i make arduino log on a certain COM port ? The idea is that i am developing an app and don't want that for every computer to have to verify the port manually .. If it's not possible to have arduino connect to a certain COM port, may i know if arduino has a range of COM ports to which it locks.

Operating system?

Windows XP and Windows 7

You can not assure that the Arduino will use the same COM port on every computer it is connected to.

It will use the next available COM port.

On Windows, you can get a list of COM ports that are being used. The Arduino will be connected to one of them. There is no way to know in advance which one of them the Arduino is attached to.

If you use an arduino Uno, you can do things slightly differently as it appears as a USB device rather than a COM port.