diff options
| author | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
|---|---|---|
| committer | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
| commit | 760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch) | |
| tree | e3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/bin12/CloseMiranda.vbs | |
| parent | 6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff) | |
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/bin12/CloseMiranda.vbs')
| -rw-r--r-- | tools/build_scripts/bin12/CloseMiranda.vbs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/build_scripts/bin12/CloseMiranda.vbs b/tools/build_scripts/bin12/CloseMiranda.vbs new file mode 100644 index 0000000000..6ef02f0912 --- /dev/null +++ b/tools/build_scripts/bin12/CloseMiranda.vbs @@ -0,0 +1,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
\ No newline at end of file |
