title: How to move Visual Studio's 'My Code Snippets' folder to another drive?
body: <p>A simple question for which I couldn't find a setting or an answer:</p>
  
  <blockquote>
    <p>I relocated my <em>Documents</em> folder in Windows to another drive. How do I change the <em>My Code Snippets</em> folder path in Visual Studio 2012 from the default to the new location?</p>
  </blockquote>
  
  <p>The default is in my Documents folder on C:.</p>
  
  <pre><code>C:\Users\Virtlink\Documents\
      Visual Studio 2012\Code Snippets\Visual C#\My Code Snippets
  </code></pre>
  
  <p>But I moved my Documents folder to my drive D:, but Visual Studio didn't pick up on this change and forces the creation of the folder on C:. This causes some weird behavior with exclamation marks next to <code>My Code Snippets</code> in the Code Snippets Manager, and errors on importing snippets.</p>
  
  <p>The folder Windows directs me to when I open My Documents from my user folder is <code>D:\Personal\</code>, and I want the code snippets there too:</p>
  
  <pre><code>D:\Personal\Visual Studio 2012\Code Snippets\Visual C#\My Code Snippets
  </code></pre>
  
  <p>If necessary, I wouldn't mind moving the whole Visual Studio 2012 subfolder. I just can't find out how to set that in Visual Studio.</p>
  
  <p><img src="https://i.stack.imgur.com/jWzR8.png" alt="enter image description here"></p>