Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
With WshShell
.Run "C:\Windows\System32\Taskmgr.exe"
While Not .AppActivate("Windows 任务管理器")
Wend
.SendKeys "%u"
.SendKeys "b"
.SendKeys "% n"
End With
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |