Telnet VigorLTE Route 傳送簡訊方法


底下 copy 存成 .bat 檔

就可以執行

電話號碼和傳訊 SMS 內容要換成自己的

-------------------------------------------------------

Set cloner = CreateObject("WScript.Shell")
cloner.run"cmd"
'打開命令提示視窗
WScript.Sleep 500
'等500豪秒

cloner.SendKeys"telnet 10.10.10.10"  
'telnet 的 ip 和 port
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"UserName"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"password"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"wan lte send +441234567890 "This is an sms test!""
'wan lte send <receiver> <content>
'Vigor Telnet 傳送大哥大 SMS 簡訊警報 語法 form JanusLin
cloner.SendKeys("{Enter}")
WScript.Sleep 500


cloner.SendKeys"exit"
cloner.SendKeys("{Enter}") 

-------------------------------------------------------

不含虛線

地址 : 81350台灣高雄市左營區果峰街12巷22號2樓

2F., No. 22, Ln. 12, Guofeng St., Zuoying Dist., Kaohsiung City 813, Taiwan 
TEL : 07-5881868 | FAX : 07-5881870
|UBSIP : 777168 E-Mail : kshelp@ublink.org

 

地址 : 81350台灣高雄市左營區果峰街12巷22號2樓 
2F., No. 22, Ln. 12, Guofeng St., Zuoying Dist., Kaohsiung City 813, Taiwan 
TEL : 07-588-1868 | FAX : 07-588-1870 |

UBSIP : 777168 E-Mail : kshelp@ublink.org