can not open com10, com11, com12 and higher

Stas Maximov
Thu Dec 16 15:27:00 GMT 1999


I am using 16-port serial card and was not able to access serial ports
com10 - com18. I have seen a couple of people complaining about the same

The cause of the problem is that CreateFile accepts strings "com1" -
"com9" as names of devices and reject to do so for two and more digit
numbers. In order to open "com10" and above we actually have to feed
"\\\\.\\com10" string to CreateFile.

The simple fix to winsup/ given below would solve the problem.
Can someone integrate this? 


bash-2.02$ diff -u
---  Wed Oct 27 20:55:55 1999
+++     Thu Dec 16 14:49:36 1999
@@ -400,7 +400,7 @@
-  "com%d",
+  "\\\\.\\com%d",

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list