Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello All,
I am trying to create a Bat file that would go ahead and start capture of text in hyperterminal and automatically name the file by date. I would need this to run everyday. Does anyone have any ideas?

In my opinion you can't achieve that by using HyperTerminal as it is an interctive and very basic application, a kind of usefull demo.
HyperTerminal can log the incoming text onto a file, but the acquisition process need to be started by clicking on Tools in the menu bar and a batch can not do that. Then HyperTerminal or the logging must be halted to make the log file readable to rename or save it.
As far as I know there are no command line options to drive HyperTerminal's operations, so a batch file has no power to your needs.

HyperTerminal can not do it. Other terminal programs might. In the days of BBS's in DOS, I believe I was using Telix that had a logging function. What are you logging into that you want captured? There are some Windows term programs that allow data access with DDE.

I thought the same thing, but I figured I would ask anyway. What I am trying to do is capture phone logs out of our phone system. The server I am doing the capturing from is connected to the phone system via a COM port.

May be I can give you a code to fit your needs, but it needs to be adapted, in the most lucky case.
So specify exactly how the process has to start (e.g. at boot of the server, scheduked every day at a programmed time...) when the process must end and under which conditions.
Specify if it has to listen only to the COM port or commands are required to be sent to the phone subsystem.
That known, may be something will happen...

IVO,
Thanks for your input and help. Basically what needs to occur is the following:
The capture needs to begin everyday, so I am thinking that perhaps we can have task scheduler or any other way to have the capture begin at midnight of each day. We probably will need a process to close the previous capture and start a new capture for everyday. It basically only has to listen to the COM port and no commands need to be sent to the phone subsystem. Also what we need it is a way to name the file using the date that it captured.

Well I think I can try to adapt a tiny program I wrote time ago, but you need to be patient as I have to spend some days part time on this work and th result is questionable at all.
Let me know If you are interested in the term I posted.

IVO,
Did you have time to write that little app?
I'm looking for the exact same thing as jreyna.
It would be appreciated if you could send it to me.
Thanks in advance
gd

I'm also looking for a simple RS232 logger that log the time, date and data when recived but also prints out directly on a old parallell impact printer
It's for a diesel pump station monitor system (Intended for direct connection to a serial printer)
I have tested most of the commercial terminal programs around but haven't found any with these features that can automaticaly start after boot.

What you want is relatively to implement with a little programming. Serial in, add date and time to data, parallel out. If you didn't have to add date and time you wouldn't even need the pc. All you would need is a serial to parallel adaptor. If the computer is dedicated to this job the software could be done in plain old BASIC (compiled prefered) with almost any pc from 8088 up.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |