I have a simple batch file like this:
echo off taskkill /im "test.exe" /f > nul pause
If "test.exe" is not running, I get this message:
ERROR: The process "test.exe" not found.
Why does this error message get displayed, even though I have redirected output to NUL?
How can I suppress that output?