- dim program
- program="a.lnk"
- set Wshell=CreateObject("Wscript.Shell")
- set Link = WShell.CreateShortcut(program)
- exead=link.targetpath
-
- Wshell.run(exead)
- wscript.Sleep 3000
- Wshell.SendKeys "123"
- wscript.Sleep 200
- Wshell.SendKeys "{TAB}"
- wscript.Sleep 200
- Wshell.SendKeys "cszlpa"
- wscript.Sleep 200
- Wshell.SendKeys "{ENTER}"
复制代码 如果你想方便地输入几组账号密码 可能需要一个循环 |