title: Get output of CMD line program from C++ (specifically netstat)
body: <p>I want to be able to run "netstat -n" and grab the output somehow so I can then write it out to another file.</p>
  
  <p>How can I do this in C++ on Windows CE</p>
  
  <p>Thankyou</p>
  
  <p>Chris</p>