Computing.Net > Forums > Programming > Read COM, execute batch file

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.

Read COM, execute batch file

Reply to Message Icon

Name: swightness
Date: February 28, 2009 at 18:48:08 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

I am doing a microcontroller project that reads many sensors, and when one is triggered, sends a text message.
On the micro side, the information is sent through RS232, to COM7 on my computer.

On the computer side, I have a PHP file, that, through a remote server, can send email to cell phones.

I need to jump this horrific bridge in between.

Any ideas of how to get between these 2 points, I will greatly entertain.

At this point, I "visualize" a program that reads the COM port, and when a special character is recieved, execute a batch file to log into the server, and execute the php file.

Questions:

Is there a nifty program out there that can read serial, and perform task?
I see many programs to read serial, is there an efficient way to monitor one of these programs, and when character receieved, is there a way to launch a batch file?
Can I poll from the command prompt for COM, and when something is recieved, just continue in the command prompt to telnet/server?

Any other sweet ideas?

Thanks everyone!,

John



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: March 4, 2009 at 12:53:05 Pacific
Reply:

Just for surfers' info:

solved by a legacy 16 bit application relying upon NTVDM builtin emulator after private messages exchange.


0
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 Programming Forum Home


Sponsored links

Ads by Google


Results for: Read COM, execute batch file

Unable to execute batch file www.computing.net/answers/programming/unable-to-execute-batch-file/19206.html

Batch file to delete files in a dir www.computing.net/answers/programming/batch-file-to-delete-files-in-a-dir/14599.html

use vb.net to execute batch files www.computing.net/answers/programming/use-vbnet-to-execute-batch-files/11905.html