VBscript 中调用wshShell.run 来执行批处理命令 type I love you on a notepad
'typeIloveyouonanotepad
Dimwsh,note
setwsh=CreateObject("WScript.Shell")
wsh.Run"notepad"
WScript.Sleep400
wsh.SendKeys"I"'模拟从键盘敲击按键的工程
WScript.Sleep400'缓慢打字
wsh.SendKeys"L"
WScript.Sleep400
wsh.SendK