title: How to execute DOS command and retrieve result
body: <p>My C# application requirement is to issue dir command from command line (with J:\MyFolder> as current directory) and receive output from that command in my C# application. </p>
  
  <p>I tried MSDN where issuing command line examples are there like "/c dir" but I would like to retrieve result also.  </p>
  
  <p>Can somebody help me with that? Thanks in advance.</p>