summaryrefslogtreecommitdiff
path: root/tools/build_scripts/bin12/CloseMiranda.vbs
blob: 6ef02f0912fb35a0a78db6d75cbb16389fa63c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
Set objShell = CreateObject("WScript.Shell")
Set objWmi = GetObject("winmgmts:")


strWmiq = "select * from Win32_Process where name='miranda32.exe'"
Set objQResult = objWmi.Execquery(strWmiq)


For Each objProcess In objQResult
intRet = objProcess.Terminate(1)
Next