复制代码
- Set ws = CreateObject("Wscript.Shell")
- ws.run "cmd /c start notepad.exe",vbhide
- wscript.sleep 2000
- ws.sendkeys "A"
- ws.sendkeys "B"
- ws.sendkeys "a"
- ws.sendkeys "b"
- ws.sendkeys "c"
- ws.sendkeys "d"
- ws.sendkeys "e"
- wscript.sleep 1000
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |