6,850
社区成员
发帖
与我相关
我的任务
分享
'假设主机地址是192.168.0.2
'假设用户名是MyUsername
'假设密码是MyPassword
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "telnet 192.168.0.2"
WScript.Sleep(5000)
WshShell.SendKeys "MyUsername{enter}"
WScript.Sleep(1000)
WshShell.SendKeys "MyPassword{enter}"