Domanda

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

È stato utile?

Soluzione

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

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

Altri suggerimenti

You should use

command 2>file

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top