title: I want to take run an executable and take input from a text file and then write the output in Windows cmd
body: <p>In ubuntu I would do it by following command</p>
  
  <pre><code>./a.out &lt; input.txt | cat &gt; ouput.txt
  </code></pre>
  
  <p>how can I do this in Windows cmd?</p>