title: How to open a folder in %appdata% with C++?
body: <p>As you all know, the appdata folder is this</p>
  
  <pre><code> C:\Users\*Username*\AppData\Roaming
  </code></pre>
  
  <p>on windows 7</p>
  
  <p>Since my application will be deployed on all kinds of Windows OSes i need to be able to get the folder 100% percent of the time.
  The question is how do you do it in C++? Since i don't know the the exact Windows OS it could be XP,Vista or 7 and most importantly i don't know what the <em>Username</em> is.</p>