Everything is pointless from a certain perspective.

utena.egloos.com

포토로그




kill -9 나중에 다시 찾아볼 것들

strComputer = "."
strProcessToKill = array( "a.exe", "b.exe" )


 Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate , (Debug)}!\\" & strComputer & "\root\cimv2")
 
 For Each pss in strProcessToKill
  Set colProcess = objWMIService.ExecQuery ("Select * from Win32_Process Where Name = '" & pss & "'")
 
  For Each objProcess in colProcess
objProcess.Terminate()
  Next
 next


덧글

댓글 입력 영역
* 비로그인 덧글의 IP 전체보기를 설정한 이글루입니다.