Running an external application? | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through July 24, 2007 ⬆ |
◄ ► |
Author | Message | |||
Martin Vilches New member Username: Marteken Post Number: 1 Registered: 07-2007 |
Hello, is it possible to have a 2 way sms to do the following: I want to launch a *.bat or *.exe file when I get an specific keyword. Is it possible? Thanks a lot Martin | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7380 Registered: 10-2002 |
Hi Martin, I assume this question is asking about 2-way commands in NowSMS. You'd be better off asking this question in one of our product support forums (this forum is labeled "not for Now product support"). To answer your question, yes, you can do this. Define your keyword as the "SMS Command Prefix" when you define your 2-way command. This "SMS Command Prefix" setting looks for a match on the first word of the SMS. Let's say your keyword is "martin" ... but you also want to route messages that start with "martin4" or "martinvilches" to your command. Then, you can use a wildcard character in the prefix, "martin*". Launching an EXE is generally no problem to configure, because you can define the EXE directly in the "Command to Execute" field. But launching a BAT file is more difficult, because NowSMS can only directly launch an EXE. But you can launch a BAT by launching it through the Windows command processor (e.g., c:\windows\system32\cmd.exe /c c:\path\yourfile.bat). You can find some more information at: http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm http://support.nowsms.com/discus/messages/1/4520.html If you have any follow-up questions, please post them in one of the top 2 forums labeled "Product Support ONLY", as I don't monitor the messages in this forum as frequently. -bn |