Gigi,
Okay great, using //./COMX or \\.\COMX did work fine for opening and closing on a serial port. Whew!
There is still a bug about it failing with COMX, not sure why the behavior differs (they are all supposed to be recognized as native serial ports). I'll get one filed soon enough.
> I will take this opportunity to say that I got another strange behaviour regarding these virtual serial ports. I have a code that uses the following lines:
> foreach p $result {; # list of available serial ports
> set free [file readable //./$p]
> if $free {; # do something ...
>
What happens if you call open and use catch to see if any errors raise instead of using readable?