原帖由 cmdos 于 2008-4-29 12:23 发表
set Ws = WScript.CreateObject("WScript.Shell")
count=0
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ps.name="wscript.exe" then count=count+1
next
if count ...
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |