title: How to convert from Special Folders to full file names
body: <p>Is there a way of converting special folder paths to a full file name (and back) or do I need to code my own (not hard I know, but no point if it exists)</p>
  
  <p>e.g. I want to store the file name of a template for an application, which the user can then change, it exists in the LocalApplicationData folder.</p>
  
  <p>what I would like to store is the location of the file in the format:</p>
  
  <p>%LOCALAPPDATA%\MyApp\Templates\Report Template.xls</p>
  
  <p>so that this application file can be used by many users, each user when they open it will get the Report Template from their own local app directory.</p>
  
  <p>I can write</p>
  
  <pre><code>replace("%LOCALAPPDATA%", _
      System.Environment.GetFolderPath(
           System.Environment.SpecialFolder.LocalApplicationData))
  
  and vice versa
  </code></pre>
  
  <p>when I come to save the file location, however is there a System.IO (or similar) call to do this for me, rather than having to go through every possible special folder?</p>