Set wmi=GetObject("winmgmts:\\.") Set pro_s=wmi.instancesof("win32_process") For Each p In pro_s If p.name="进程名称(例如test.exe)" then Wscript.Echo "程序已经运行了" '下面你写一些处理的代码 End If next
4,009
社区成员
3,512
社区内容
加载中
试试用AI创作助手写篇文章吧