I need a VBS script to kill two running processes. I can do it in PowerShell, no problems using:
taskkill /f /im CorsTra.exe
taskkill /f /im M95Hid.exe
However, in my google searches (yes, I'm pathetic with code) none of the suggestions worked and I tried a few like this:
What VBS code do I need to accomplish this simple task because the above and nothing else I tried does? They run but the processes never end. Thanks!
taskkill /f /im CorsTra.exe
taskkill /f /im M95Hid.exe
However, in my google searches (yes, I'm pathetic with code) none of the suggestions worked and I tried a few like this:
Dim oShell : Set oShell = CreateObject("WScript.Shell")
oShell.Run "taskkill /f /im M95Hid.exe",,True
Dim oShell : Set oShell = CreateObject("WScript.Shell")
oShell.Run "taskkill /f /im CorsTra.exe",,True
What VBS code do I need to accomplish this simple task because the above and nothing else I tried does? They run but the processes never end. Thanks!