Changing the COM number of a sketch

Hi again,

When I write a sketch can I designate the COM number of the sketch ?

I know how to change the Arduino board number but if , shall we say, I wish to designate the sketch for COM 12 how do I do this?

A rather confused Squeaky

To my knowledge, you can't.

I this the same question as

The Arduino Web Editor does automatically associate each sketch with a board and port. The Arduino IDE does not. This is a feature that has been requested numerous times for the Arduino IDE but it is not a priority for the Arduino developers.

I believe that if someone from the community submitted a pull request for a well thought out implementation of this, the Arduino developers would give serious consideration to accepting it.

Thanks very much.... this as helped me very much

You're welcome. I'm glad if I was able to be of assistance. Enjoy!