title: Best place to store configuration files and log files on Windows for my program?
body: <p>I need to store log files and configuration files for my application. Where is the best place to store them?</p>
  
  <p>Right now, I'm just using the current directory, which ends up putting them in the Program Files directory where my program lives.</p>
  
  <p>The log files will probably be accessed by the user somewhat regularly, so <code>%APPDATA%</code> seems a little hard to get to.</p>
  
  <p>Is a directory under <code>%USERPROFILE%\My Documents</code> the best?  It needs to work for all versions of Windows, from 2000 forward.</p>