title: C# Bitmap.Save saves image to other location as path
body: <p>I'm doing a simple image resize and on the final I want to save it like:</p>
  
  <pre><code>path = "C:\\new_image.jpg";
  img.Save(path, jpegCodec, encoderParams);
  </code></pre>
  
  <p>The problem is it saves to "....... \Users\Ervin\AppData\Local\VirtualStore\" .
  What did I do wrong or what did I miss out?</p>
  
  <p>UPDATE: I changed the path to an other folder, and it works. it seems I can't save to C:\ only.</p>