title: %PATH% on Windows 2008 Server actually not working
body: <p>As you can see below, <code>%AppData%\npm</code> is added in the system Path variable. I've also tried adding it to the User Path variable. The file <code>grunt.cmd</code> exists in the directory, but only works if I specify it with an absolute path. AKA, path does not work.</p>
  
  <pre><code>C:\Users\TeamCity&gt;echo %path%
  %AppData%\npm;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows
  \System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\10
  0\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program F
  iles\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Ser
  ver\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Ser
  ver\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program
  Files\nodejs\
  
  C:\Users\TeamCity&gt;dir %appdata%\npm
   Volume in drive C has no label.
   Volume Serial Number is B845-1135
  
   Directory of C:\Users\TeamCity\AppData\Roaming\npm
  
  05/29/2013  03:14 AM    &lt;DIR&gt;          .
  05/29/2013  03:14 AM    &lt;DIR&gt;          ..
  05/29/2013  03:14 AM               298 grunt
  05/29/2013  03:14 AM               159 grunt.cmd
  05/29/2013  03:13 AM    &lt;DIR&gt;          node_modules
                 2 File(s)            457 bytes
                 3 Dir(s)  23,690,498,048 bytes free
  
  C:\Users\TeamCity&gt;grunt
  'grunt' is not recognized as an internal or external command,
  operable program or batch file.
  
  C:\Users\TeamCity&gt;%appdata%\npm\grunt
  grunt-cli: The grunt command line interface. (v0.1.9)
  </code></pre>
  
  <p>Running on:</p>
  
  <ul>
  <li>Windows Server 2008 R2 Datacenter</li>
  <li>Service Pack 1</li>
  <li>64-bit</li>
  </ul>