Computing.Net > Forums > Programming > Creating Bat File for Hyperterminal

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Creating Bat File for Hyperterminal

Reply to Message Icon

Name: jreyna
Date: September 15, 2005 at 15:38:27 Pacific
OS: Windows 2000 Server
CPU/Ram: 2.6ghz/1GB
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: September 16, 2005 at 03:08:44 Pacific
Reply:

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.


0

Response Number 2
Name: wizard-fred
Date: September 16, 2005 at 04:25:45 Pacific
Reply:

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.


0

Response Number 3
Name: jreyna
Date: September 16, 2005 at 06:29:18 Pacific
Reply:

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.


0

Response Number 4
Name: IVO
Date: September 16, 2005 at 06:42:48 Pacific
Reply:

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...


0

Response Number 5
Name: jreyna
Date: September 16, 2005 at 07:06:00 Pacific
Reply:

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.


0

Related Posts

See More



Response Number 6
Name: IVO
Date: September 16, 2005 at 07:19:16 Pacific
Reply:

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.


0

Response Number 7
Name: jreyna
Date: September 16, 2005 at 09:07:29 Pacific
Reply:

IVO,

Sounds good! I want to be able to automate the process of capturing these phone logs.


0

Response Number 8
Name: IVO
Date: September 16, 2005 at 11:28:19 Pacific
Reply:

Well, fasten sit belts... we are going to lift off...

Next messages will be e-mailed.


0

Response Number 9
Name: gdstelvio
Date: September 22, 2005 at 16:43:50 Pacific
Reply:

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


0

Response Number 10
Name: Mr_X
Date: September 29, 2005 at 14:42:16 Pacific
Reply:

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.


0

Response Number 11
Name: wizard-fred
Date: September 30, 2005 at 06:50:27 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Creating Bat File for Hyperterminal

bat file for deleting www.computing.net/answers/programming/bat-file-for-deleting/11636.html

i want create msi file for my project www.computing.net/answers/programming/i-want-create-msi-file-for-my-project/19707.html

.bat file to count and rename www.computing.net/answers/programming/bat-file-to-count-and-rename/15495.html