On Mon, 03 Jan 2005 13:22:34 -0500
"Joe R." <rigdonj(a)cfl.rr.com> wrote:
At 01:08 PM 1/3/05 -0500, you wrote:
Hi,
Anybody have a stupid DOS trick for importing binary files
over a com: port?
Import from what kind of system? If it's another MS-DOS/Windows system
then LapLink or FastLynx is the easiest. FastLynx has a way to install
itself to disk-less machines over the cable. LL probably does too. If one
is a non-MS-DOS system then Kermit is probably best. it's available for a
LOT of didfferent systems. I haven't used if but Dave Mabry uses it
successfully to transfer files to and from a PC and the Intel MDSs and
they're very different machines.
Joe
I have a floppy-less laptop that I want to
> get Kermit.exe into. If it isn't simple then I'll just write a Hex/Bin
> program for each side and send the file ASCII. It would have
> to be .BAS on the laptop side.
>
> I realize that taking the drive out and mounting it in the host
> machine is a good solution, but I wanted to try this first while
> keeping the machine together.
>
I suspect that it would be just as difficult to get Laplink.exe installed on
the machine as it is to get kermit.exe over there.
I have one machine, an Omnibook 300, which is one of the first completely disketteless
laptops. It has a mechanism built in to 'inject' llremote.exe (a tiny laplink TSR
that actually works peer-to-peer well too) into any other DOS based machine.
Digging into the dialogues in the 'remote install' program of Laplink on the
Omnibook, it tells you to type the following two lines:
MODE COM1:2400,N,8,1,P
CTTY COM1
I assume that the remote end (the Omnibook 300) then seizes a console into the target
system and uses some variant of 'COPY CON' to inject the laplink remote access TSR
program.
Can't the plain old DOS copy command be used in the same fashion, i.e.:
MODE COM1:9600,N,8,1,P
COPY COM1 filename.exe
entered at the 'receiving' system (at the right points in time)
A null modem connection would be established, and the commands:
MODE COM1:9600,N,8,1,P
COPY filename.exe COM1
would be issued from the machine 'sending' the file.
Please update me and/or correct me if someone else on the list has more experience with
this.
Haven't done a lot of this kind of stuff in ages. I converted over from CP/M to DOS
back in the day over a three-wire interface. I used to say 'the universal file
transfer format is a piece of copper wire.'
-Scott