title: How to change the location of the netbeans settings directory (~/.netbeans)
body: <p>By default netbeans stores it's settings in a directory called .netbeans under the user's home directory. Is it possible to change the location of this directory (especially under Windows)?</p>
  
  <p>Thanks to James Schek I now know the answer (change the path in netbeans.conf) but that leads me to another question: 
  Is there a way to include the current username in the path to the netbeans setting directory? </p>
  
  <p>I want to do something like this:</p>
  
  <pre><code>netbeans_default_userdir="D:\etc\${USERNAME}\.netbeans\6.5beta"
  </code></pre>
  
  <p>but I can't figure out the name of the variable to use (if there's any).
  Of course I can achieve the same thing with the --userdir option, I'm just curious.</p>