Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automate passing ctrl z in dos or hyper-terminal

Status
Not open for further replies.

beaster

Technical User
Aug 20, 2001
225
US
I need to use hyper-terminal to send an sms through my gsm phone which is hooked to a serial cable on com 2. I can get it to send by doing:

ATE1 (ECHO ON)
AT+CMGF=1 (FOR TEXT MODE)
AT+CMGS="PHONE NUMBER"
>MESSAGE (AFTER THE ABOVE COMMAND IT GIVE > AS A PROMPT)
THEN TO SEND YOU NEED TO HIT CTRL-Z AND ENTER

I want to build a script to pass the text for the message automatically to pre-defined numbers and do the ctrl-z and enter automatically. I already have a program to choose the numbers to send to, but I have to build the message file.....

Please help!
.//beaster
 
No reason to keep posting, I figured this out months ago.

Thanks for the posts though!

Beaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top