Computing.Net > Forums > Disk Operating System > Batch File to collect input from COM port

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.

Batch File to collect input from COM port

Reply to Message Icon

Name: Kristine
Date: March 7, 2000 at 08:40:13 Pacific
Comment:

I need to collect input from a COM port and save it as a text file or send it to another program such as excel. We are able to use either Win NT 4.0 or Win 95. Help!



Sponsored Link
Ads by Google

Response Number 1
Name: w1sh3
Date: March 7, 2000 at 09:45:25 Pacific
Reply:

Hope this helps. I can think of better ways to acquire info re: com ports, however -
DOS' base programs, like type,mode, etc can have console output redirected to a file of your choice. Of course, this would be easy to include in a batch file.

ex:
dir > dirtext.txt

This issues the 'dir' command and re-directs the data returned to a file.


0

Response Number 2
Name: GeENer
Date: March 10, 2000 at 10:54:37 Pacific
Reply:

If you just want to collect info from a com port and save it to a file, try using hyperterminal in Win95 to capture the text.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Batch File to collect input from COM port

Batch file to kill processes www.computing.net/answers/dos/batch-file-to-kill-processes/13104.html

Batch file to upload data frm flopy www.computing.net/answers/dos/batch-file-to-upload-data-frm-flopy/13724.html

Dos batch file to exclude days!! www.computing.net/answers/dos/dos-batch-file-to-exclude-days/13643.html