title: Error while trying to use C in SublimeText 3 (gcc is not recognized as an internal or external command)
body: <p>It's the first time i try to use C in SublimeText 3 and i keep getting the same error when I run a simple C program:</p>
  
  <p>I'm using windows 10 64 bit</p>
  
  <pre><code>"gcc" non � riconosciuto come comando interno o esterno,
  un programma eseguibile o un file batch.
  </code></pre>
  
  <p>(this translates in: "gcc is not recognized as an internal or external command, an executable program or a batch file")</p>
  
  <pre><code>[Finished in 0.1s with exit code 1]
  [cmd: ['gcc', 'prova.c', '-o', 'prova.exe', '&amp;&amp;', 'prova.exe']]
  [dir: C:\Users\Giovanni\Desktop]
  [path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramFiles (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS 
  Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
  C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Giovanni\AppData\Local\Microsoft\WindowsApps;]
  </code></pre>
  
  <p>Gcc is installed in C&lt;:\MinGW\bin and i have added the path to windows environmental variables as you can see here:<a href="https://imgur.com/a/fDIK4MB" rel="nofollow noreferrer">https://imgur.com/a/fDIK4MB</a>.</p>
  
  <p>I'm using the following build (it's copy-pasted from internet):</p>
  
  <pre><code>{
  "cmd" : ["gcc", "$file_name", "-o", "${file_base_name}.exe", "&amp;&amp;", "${file_base_name}.exe"],
  "selector" : "source.c",
  "shell":true,
  "working_dir" : "$file_path"
  }
  </code></pre>
  
  <p>My pc runs windows 10 64 bit
  Thanks in advance!</p>