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
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!
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.
Summary: So, it's just a batch file to copy a file from floppy to C:, right? You mentioned that user will input the file name in format, for instance "D033ddmm". You mean user will input something like "D03312...
Summary: No, it is not necessary. However, you can schedule the batch file to run everyday and from inside it, check if today is a excluded-day. If so, exit. If not, proceed. That could be useful if you don't ...