Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting com port data to file?

Status
Not open for further replies.

mjbosko

Programmer
Joined
Jun 26, 2002
Messages
248
Location
US
I used to use a serial analyzer for this, but no longer have one - and am under the gun (of course).

I'm trying to capture output of a program through the PC's com port. Is there any way to redirect this data, before it hits the com port, to a file or printer?

Thanks!

Mike
 
Geez, I think you have to play with this a bit.

See:
My gut instincts would be to use the Mode command in a batch file:

mode com1:9600,n,8,1
mode com1:=lpt1:

And then use one of the hundreds of lpt1 redirection utilities to spool to a file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top