title: How to fix "Access is denied" when running C++ code on VS Code?
body: <pre class="lang-none prettyprint-override"><code>[Running] cd &quot;c:\Users\Gaurav\c++er\&quot; &amp;&amp; g++ ee.cpp -o ee &amp;&amp; &quot;c:\Users\Gaurav\c++er\&quot;ee
  Access is denied.
  
  [Done] exited with code=1 in 14.438 seconds
  
  [Running] cd &quot;c:\Users\Gaurav\c++er\&quot; &amp;&amp; g++ ee.cpp -o ee &amp;&amp; &quot;c:\Users\Gaurav\c++er\&quot;ee
  Access is denied.
  
  [Done] exited with code=1 in 3.482 seconds
  </code></pre>