On Tue, 4 Jan 2005, Joe R. wrote:
If the program
binary sent over the serial line didn't include
any characters that were eaten or rejected by COPY, and it
ended with a CTRL/Z and COPY stopped there, it would work,
wouldn't it?
It should. However COPY will normally stop when it hits a CTRL/Z. (And
many files have CTRL/Zs in them other than the EOF.) HOWEVER there is a
switch that you can use to make COPY copy the entire file length regardless
of the preense of embedded CTRL/Zs. I don't remember what the switch is
but it should be easy to find out.
THe problem is that copy /B doesn't work. Never did, in any
version of DOS since 1.0.