thanks
i have Teraterm for windows and i know nothing about serial in DOS
do i need to first OPEN PORT and finally CLOSE it, or not.
and how receive it in windows, any handshaking required?
i mean how to wait to receive files.
For receiving data from serial port in DOS, just swap the ordering of above arguments of the COPY command. This will store all received bytes into the file.
Code:
"COPY COM1 FILE2.TXT"
The only problem is that this will keep the port opened indefinitely. There could have some way to manage it, but I can't remember. Take in mind that DOS operational system is not suited for run concurrent processes.
ok
i did it and typed this command "COPY FILE.TXT COM1" but it said cant write...
i only used this line do you think this is enough or something else is needed like OPENPORT,etc
and i dont know what suppose to do in win os just run Teraterm and wait???
one other thing i tried: i went to Dos help and searched 'serial' it said use INTERLNK to connect 2 pc. it said some config requiered , add this line "c:\dos\interlnk.exe" to CONFIG.SYS and reboot system. i did it
but again i stuck in win os. in DOS help it said you must run INTERSRV.EXE on server pc and i dont know how to find it in windows
You need to set up the com1 port with baud rate, word length, parity, stop bits and other paraphernalia. I do not remember well, but you will perhaps need to read the set term command.
INTERLNK to connect 2 pc. it said some config requiered , add this line "c:\dos\interlnk.exe" to CONFIG.SYS and reboot system. i did it
but again i stuck in win os. in DOS help it said you must run INTERSRV.EXE on server pc and i dont know how to find it in windows
INTERLNK and INTERSRV are DOS programs. They may or may not be present on your Windows machine.
They run in the DOS window. On a Windows machine you'll open a command window (DOS type). (That is, if this method will work at all with USB.)
These two programs were useful for transferring files between computers 20 years ago. That was at a time when data went through the parallel ports (DB-25). Does your Windows machine have a parallel port?
If you are lucky you'll be able to get the programs to cooperate. Otherwise you may need to resort to floppy disk, or zip disk, etc.
Also do not forget to use a twisted cable (that will make the receive data connect with the transmit data of the other)- straight cables (data in <-->data in) will also not work.
(google crossover serial port cable pin connection- if you have doubts- these cables can be purchased but are trivial to make if you know how to solder neatly)