• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question VBS Script - Please Help

Status
Not open for further replies.

BadThad

Lifer
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:

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!
 
Solution:

 
Status
Not open for further replies.
Back
Top