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:
mysqldump doesn't work with: >nul 2>&1 Instead use: 2> nul This suppress the stderr message: "Warning: Using a password on the command line interface can be insecure"