title: getting environment variables from windows
body: <p>According to some answers the following should give me the environment variable username in windows.
  But is just gives SYSTEM. I know of other methods to get the username but what is the easiest way to get an invironment variable in Ruby193/Windows7 ?</p>
  
  <pre><code>puts ENV['USERNAME'] #=&gt; SYSTEM
  </code></pre>