title: Setting a system environment variable from a Windows batch file?
body: <p>Is it possible to set a environment variable at the system level from a command prompt in Windows 7 (or even XP for that matter). I am running from an elevated command prompt.</p>
  
  <p>When I use the <code>set</code> command (<code>set name=value</code>), the environment variable seems to be only valid for the session of the command prompt.</p>