문제

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