title: C++ VS Fatal error C1083 Permission denied
body: <p>I have searched for hours online trying to find a solution. I'm new to C++, however I've compiled quite a few programs and never had any trouble until last night.</p>
  
  <p>I'm using the Microsoft VS command prompt. I've tried this on 2010, 12, and 13, and get the same error... as well as on 2 different computer systems. I thought it may be a code issue, however, I just typed up a simple program that I know will work, yet I get the same error. I'm running Windows 8 64 bit</p>
  
  <p>From the command prompt I enter cl C:\Users\David\Desktop\1\simplecpp.cpp</p>
  
  <p>and get the following error:</p>
  
  <blockquote>
    <p>C:\Users\David\Desktop\1\simplecpp.cpp : fatal error C1083: Cannot open compiler generated file: 'simplecpp.obj': Permission denied</p>
  </blockquote>
  
  <p>I can get the programs to compile if I run as Administrator (what I read on another post) However, there is no output. It doesn't save the object or program files. I have also checked permissions, and everything is correct.</p>
  
  <p>Neither computer has had anything changed, both do use ad-aware, however, I disabled that and tried just in case something was interfering, but still it doesn't work. I also turned off my firewall and tried. I find it odd that both of my computers at the same time are experiencing the same issue?</p>