title: path variable changes in sql
body: <p>I'm not sure why but it looks like sql server is using a different path environmental variable then the rest of my system. When i add the cmd as an external tool in sql, by going to 
  Tools->external Tools and adding cmd.exe as the command i get a different path.</p>
  
  <p>the shell from sql gives me</p>
  
  <pre><code>echo %PATH%
  c:\Program Files (x86)\Microsoft SQL Server\100\Shared\;C:\Windows\system32\NV;.;
  </code></pre>
  
  <p>This does not reflect my path variable at all</p>
  
  <p>when I echo the path from a regular command prompt I get my full path.</p>
  
  <p>When SQL starts up it looks like it is using its own environmental variables. Does anyone know where these are defined or if I can have my system path appended to this "special" SQL path?</p>