Posted by Marco on June 03, 2010 at 11:03:04:
Hi all,
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.
e.g.:
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?
Thanks,
Marco