For one file it's showing standard error on console i.e. command prompt. I want to print it on text file.
2 Answers
some_file.exe >> text.file 2>&1
this will print all output to text file.For more info.
2 Comments
Palec
I found a similar page on Microsoft's site: microsoft.com/resources/documentation/windows/xp/all/proddocs/…
npocmaka
Yes.This is the official MS documentation , but I find robvandervoude page a little bit more neat.
How to write standard error in text file using batch command