title: Visual Basic how to get to %appdata%
body: <p>I'm working on a project in Visual Basic and it's going to store all the data in a folder in <code>%appdata%</code>. I'm using Visual Studio 2010 I already tried this:</p>
  
  <pre><code>My.Computer.FileSystem.CreateDirectory(Environment.ExpandEnvironmentVariables(%AppData%\test"))
  </code></pre>
  
  <p>but it didn't work.</p>