Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sending file from DOS to XP via COM (RS-232)

Posted on 2008-10-07
13
Medium Priority
?
640 Views
Last Modified: 2012-06-27
Experts,
I am trying to send a single file from a DOS machine, which has no ftp or other software outside of stock DOS to a machine running XP. I have been able to set up a Hyperterminal on XP and by using the command C:\> copy FILENAME COM1, i can see the contents of the file in the hyperterminal window - however because of its file type, it comes out in an unreadable format.
My question is, how do i set up the recieving end to receive the file from the DOS machine, and is there a different command i should be using on DOS to transfer the file?

Cheers
0
Comment
Question by:bman87
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 4
13 Comments
 
LVL 8

Expert Comment

by:sstone55423
ID: 22665202
You could use the Hyperterminal capabilities of Transfer | Receive File  You then have a choise of Kermit, xmodem, ymodem and zmodem.  So, all you need to do is get a coipy of kermit for DOS http://www.columbia.edu/kermit/mskermit.html or zomodem for dos http://www.omen.com/dosd.html
 
and run it on the DOS side to transfer the file.
0
 

Author Comment

by:bman87
ID: 22665241
The problem is that the computer running DOS is very old (Toshiba T3200), and the floppy drive is broken. Have pulled it appart, but is soldered in, and takes special model of floppy.
So assume that no software can be added to the DOS machine.
0
 

Author Comment

by:bman87
ID: 22665252
I have found come software called XTGOLD on the machine. Could this be used?
0
Take our survey for a chance to win!

As a valued customer of Targus, we’d like to ask you a few questions about us. As thanks, you will be automatically entered for a chance to win a $500 VISA gift card. To enter, just complete the survey by September 15, 2017.

 
LVL 8

Expert Comment

by:sstone55423
ID: 22665278
Worth a try -- try each of the modes one by one, you might get lucky.
0
 

Author Comment

by:bman87
ID: 22665324
When you say that, do you mean the recieving protocol on Hyperterminal? I have already tried sending the file with copy FILENAME COM1 and recieving with each protocol. Is there a method for sending files over serial with XTGOLD, because i can't see anything
0
 

Author Comment

by:bman87
ID: 22665358
there must be a simple way to send a file over a serial port through DOS without any additional software...
0
 

Author Comment

by:bman87
ID: 22665803
This link is basically exactly how i need to do it: http://www.chrio.org/serial/. However when i do the copy com1 vtemu.co1 command in tera term, i get a sharing violation. I have also tried to do it through putty and same thing
0
 
LVL 8

Accepted Solution

by:
sstone55423 earned 1500 total points
ID: 22667033
OKay, how about using the "transfer | capture text" part of hyperterminal?
1) Set transfer | capture text, give it the file name
2) Send across the serial link by using the copy  filename com1
3) Gibberish appears
4) When data stops sending, then choose send | capture text | stop
 
0
 

Author Comment

by:bman87
ID: 22667398
I will try when i get back to work. Unfortunately not til next week, but will give you feedback then.
0
 

Author Comment

by:bman87
ID: 22702075
Followed http://www.chrio.org/serial/ guide, doing the command directly from the DOS side, rather than through CTTY COM1
0
 
LVL 8

Expert Comment

by:sstone55423
ID: 22704159
We gave sufficient guidance to solve the issue.  No final result has been posted to give context as to what method was used, or what solution was.
0
 

Author Comment

by:bman87
ID: 22709086
With regards to sstone55423, the solution you offered did not solve the problem - the 'captured text' was not what was required. As i said in my comment, the link i supplied (which i found) provided the exact solution to my problem. The only problem i did run into, i provided a solution to it.
As for providing a detailed solution to the problem, one already exists if you care to follow the link i have provided. I see no point in replicating something that already gives a good explanation.

I am happy to award points to acknowledge sstone55423's effort.

Cheers
0

Featured Post

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question