title: How to redirect Windows cmd output to a text file?
body: <p>I am trying to monitor the cmd output of a certain executable <code>.exe</code> and use it for another process running at the same time. </p>
  
  <p>The problem is that all cmd redirecting functions <strong>( '>','>>','&lt;' and '|')</strong> would only redirect the output after a successful return of the last command. </p>
  
  <p>What I wanted to do is to generate some kind of streaming log of my <strong>cmd</strong>. </p>