Posted by Marco on June 03, 2010 at 11:03:04:
I want make a log of a batch file. The problem is want to retrieve also the error responce, and the command test.bat > log.txt doesn't work.
My batch is: "del file.txt"
let say that file.txt doesn't exist, so if I try to delete it I get: "Could Not Find C:\UserData\file.txt"
If I run test.bat > log.txt the message "Could Not Find C:\UserData\file.txt" isn't recorded.
How I can get this?