title: C# Access user folder in Windows XP
body: <p>For Windows Vista and up, the user folder <code>C:\Users\MyUser</code> the folder is accessed programatically like this</p>
  
  <pre><code>Environment.ExpandEnvironmentVariables(@"%userprofile%\");
  </code></pre>
  
  <p>How do I access the user folder in XP? Like this </p>
  
  <p><code>C:\Documents and Settings\MyUser\</code></p>
  
  <p>EDIT: I am using Framework 2.0</p>