Hi everyone
i wanna kill a exe file with TASKKILL
for example:
system("TASKKILL /F /IM chrome.exe 2>NULL")
it works fine
but it shows some status in the command prompt
1 2 3 4 5 6 7
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
SUCCESS: The process "chrome.exe" with PID has been terminated.
thanks a lot
its work finesystem("TASKKILL /F /IM chrome.exe 1>NULL")
but it gave me an error when the chrome doesn't open ERROR: The process "chrome.exe" not found
you know i don't want any status at all .