How to redirect stderr from Windows command prompt to a text file?

Posted by eSKay on Super User See other posts from Super User or by eSKay
Published on 2010-04-25T05:40:17Z Indexed on 2010/04/25 5:43 UTC
Read the original article Hit count: 482

Filed under:

This article explains how redirection can be used to save the output to a file from Windows command line.

But, this only redirects the stdout stream to the file.

How to redirect the stderr stream to a file?

[I am compiling a program using g++ and getting some 1000 errors. I just want to dump those errors to a file]

© Super User or respective owner

Related posts about cmd

Related posts about stdout