Does it have to be an SMS (Short Message Service) text message? Or will an email do? I ask, since I think it's possible to use the command line to send out an email using some freeware programs (and properly configured mail settings). "sendmail" comes to mind...
I've also just Googled this: send sms from command line windows
and there appears to be several ways you can do this.
edit: Okay, here's what I just tried and it works for me (Windows XP Pro SP3 on an A31p):
1) Create a text file named sendsms.vbs
2) Input the following into that file:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "<your username>@<domain>"
objEmail.To = "<phone number>@<cellphone text domain>"
objEmail.Textbody = "Test message to keep account alive!"
objEmail.Send
The second line (objEmail.From) specifies a return address in the SMS. You can specify anything here; it does not have to be a valid address. Since you won't be replying to this SMS, it doesn't matter what you use. On line three, use your normal cell phone number (don't think international dialing code is needed) and whatever domain your cell phone provider specifies for sending SMS. For example, I have AT&T and use txt.att.net as the domain name. From looking at the email headers (I sent the same message to my email address), it appears that the message originates here:
Received: from mail pickup service by <my host name> with Microsoft SMTPSVC;
3) Specify "at" command as: at <time> <pathname to\>sendsms.vbs
I had to specify the full pathname to the sendsms.vbs file, even though I executed the AT command from within the same directory as the file. This probably was needed because I stored the .vbs file in a directory that was not in my PATH. BTW, thanks for asking this question as I needed to do something like this at work many months back. I was trying to use the sendmail program to send myself an email when a test program was finished running but it never did work right. It may be due to the way the computer is configured for our network, but using VBS and SMS might do the trick.