Vigor Route 透過 telnet WOL Wake-on-LAN 喚醒電腦


底下 copy 存成 .bat 檔

點擊就可以執行

ip 和密碼要改成自己使用的

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

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"wol up <MAC Address>/<IP Address>"
'Vigor Telnet WOL 語法 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