5

Windows cmd stderr redirection to stdout while keeping output to stderr?

view full story
linux-howto

http://serverfault.com – Is there a way in Windows 7 cmd shell to redirect the stderr to stdout while keeping the stderr stream intact? For example, I have a program that outputs to stderr and stdout the following message TO STDOUT TO STDERR I want to have two files stderr.txt and stdout.txt with the following content stderr.txt TO STDERR stdout.txt TO STDOUT TO STDERR Is this possible? (HowTos)