title: Using environment variable in a file path
body: <p>I've got an environment variable set that points to a specific folder (call it MYFOLDER for example). When typing in <code>%MYFOLDER%\SubFolder</code> into windows explorer the subfolder appears. However, when I pass <code>SelectedPath = @"%MYFOLDER%\SubFolder";</code> to a <code>FolderBrowserDialog</code>, it doesn't work.</p>
  
  <p>I tried using <code>Path.GetFullPath(..)</code>, but this seems to return the bin folder of the executable (while debugging in VS) with %MYFOLDER% on the end, instead of the path I'd expect.</p>
  
  <p>Anyone know how to get it to use the environment variable properly?</p>