sub Close_Process(ProcessName)
On Error Resume Next
for each ps in getobject("winmgmts:\\.\root\cimv2'win32_process").instances_ '循环进程
if Ucase(ps.name) = Ucase(ProcessName) then
ps.terminate
end if
next
end sub
sub Close_Process(ProcessName)
On Error Resume Next
for each ps in getobject("winmgmts:\\.\root\cimv2'win32_process").instances_ '循环进程
if Ucase(ps.name) = Ucase(ProcessName) then
ps.terminate
end if
next
end sub
833
2147
676

被折叠的 条评论
为什么被折叠?