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 isnt already in use. e.g. use mode to see what ports exist and pick a single digit one that doesnt.
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: 2017/10/17 08:22,
|©2017 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?|
<A HREF="http://www.piclist.com/techref/os/win/winnt/serialcmds.htm"> Windows Command line Serial Communications</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171017 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!