代碼如下:
user = "admin" '路由器帳號
pass = "admin" '路由器密碼
With CreateObject("Msxml2.ServerXMLHTTP")
.open "GET", "http://192.168.1.1/userRpm/SysRebootRpm.htm?Reboot=重啟路由器", False, user, pass
.send
End With
MsgBox "命令已發(fā)出,60秒內重啟完畢。", 64, "重啟路由器"
更多信息請查看IT技術專欄