A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

type a file to serial port and receive it on another computer

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 22nd 21, 11:14 AM posted to microsoft.public.windowsxp.general
external usenet poster
Posts: 1,302
Default type a file to serial port and receive it on another computer

Just an update.

This morning I was doing some more testing, and found out something : when
just using "copy" a files (terminating) ctrl-Z is not send. For that the
"/b" switch needs to be included. ("type" does send it though).

While that works for COMMAND.COM (on DOS and XP) (the "copy com1 file"
command terminates - without including the ctrl-Z in the file) XPs CMD still
does not want to play ball. It stubbornly keeps stuck in both the "copy"
and the "type" commands (and need to be task-managered outof it).


Using, as you suggested, a small DEBUG program on XP echoing received COM
bytes to stdout until a terminating character (ctrl-Z) is received works.

A caveat though: using CMD exiting such a COM style program on XP resets,
for some reason, the datawidth to 5. That ofcourse means that shrinking
the program by excluding the comports initialisation (allowing it to use
whatever speed its currently set to isn't possible - unless the "mode com1"
command is available and used in between.

Talking about (subtile) changes throwing a wrench in something that shoud
have been simple ... :-)

Rudy Wieser


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT +1. The time now is 08:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 PCbanter.
The comments are property of their posters.