'Below is an updated version of the same simple .vbs to kill processes. I added a Message Box Title and exit box to dress it up a little.
'n2clarkster@yahoo.com www.vbsbytes.com 'tested with XP and Vista
Set WshShell = WScript.CreateObject("WScript.Shell")
Dim MsgBox2,Q,message
MSGBOXTitle ="Taskkill Tool 2009"
Q = InputBox("What is the name of the .exe you want me to kill??? Enter it as name.exe" , MSGBOXTitle)
MsgBox "The following file will be killed: " & Q
WshShell.Run "taskkill /F /IM " & Q
message = "Thanks for using the tool to kill processes!"
MsgBox2 = MsgBox(message,vbExclamation,MSGBOXTitle)
'Below is the original.
'n2clarkster2yahoo.com
www.vbsbytes.com 'Set WshShell = WScript.CreateObject("WScript.Shell")
'Q = Inputbox ( "What is the name of the .exe you want me to kill??? Enter it as name.exe" )
'MsgBox "The following file will be killed: "& Q
'WshShell.Run "taskkill /F /IM " & Q