title: After installing minGW, gcc command is not recognized
body: <p>I have installed minGW, and I have a file "test.c".</p>
  
  <p>I typed <code>gcc test.c -o demo</code> at the command prompt, while in the directory where I saved the "test.c" file. But it didn't work; I got this message:</p>
  
  <blockquote>
    <p>gcc is not recognized as internal or external command, operable program or batch file</p>
  </blockquote>
  
  <p>How do I make the <code>gcc</code> command work on Windows with minGW?</p>