title: How to Open Cmd(Command Prompt) through C program
body: <p>Actually, I want to execute DOS command by a C program and want to display the output of DOS command in my C Output Window.</p>
  
  <p><strong>example:</strong>  </p>
  
  <p>use "dir C:\" which displays output to C- program</p>