please dont rip this site

Windows Command line Serial Communications

On Windows 7 (at least): Try typing chgport /? and see if you have that program. If you do, chgport COM#=COM## will map a double digit port to a single digit port assuming it isn’t already in use. e.g. use mode to see what ports exist and pick a single digit one that doesn’t.

So, for example chgport COM5=COM50 when then allow type COM5: where type COM50: will fail with "The filename, directory name, or volume label syntax is incorrect."

The trick is that unless you have hardware handshaking, the data is already gone before the PC can read it. For example, I have a board the sends back a full message like “ABCDEFGHIJKLMNOPQRSTUVWXYZ” in response to a “?” and if I send echo ?>COM5: && type COM5: I get about “HIJKLMNOPQRSTUVWXYZ”. It might work ok with xon=on

This also appares to be available as change port /?

file: /Techref/os/win/winnt/serialcmds.htm, 1KB, , updated: 2017/8/31 12:52, local time: 2024/7/25 09:05,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Windows Command line Serial Communications</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!