title: How to redirect stdout and stderr to different files in DOS?
body: <p>Lots of questions and answers on putting these in the same file or redirecting to the same place; not a lotta love for putting them in different files.</p>
  
  <p>I want to run my console app:</p>
  
  <pre><code>C:\&gt;foo -option &gt;stdout.txt 2&gt;stderr.txt
  </code></pre>
  
  <p>...or something along those lines, where normal output goes to <code>stdout.txt</code> and error output goes to <code>stderr.txt</code>.</p>