tags:

views:

381

answers:

1

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?

+9  A: 
RBerteig
Thanks for the answer, and most of all for the explanation.
JosephStyons