For one file it's showing standard error on console i.e. command prompt. I want to print it on text file.

有帮助吗?

解决方案

some_file.exe >> text.file 2>&1

this will print all output to text file.For more info.

其他提示

You should use

command 2>file

See http://support.microsoft.com/kb/110930

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top