I'm now running the windows 8 64 bit OS, and logged by a Microsoft account.
Now I am doing some work using Visual Studio and encouter some problems about the PATH variable.
1. Under current Microsoft account, I cannot see the full PATH variable neither in CMD or the Environment Variables dialog, the figures below shows the current view:
This is my current PATH
and, of course, I set it under system variables.
Well, this path works fine in command line executing, but in visual studio, it doesn't work.
2. So, lets see what I have in visual studio (run as administrator):
If you're willing to look at the text above, you'll find that this "PATH" is totally different with the one we set in Environment Variables dialog or get from the CMD.
"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\VisualSVN\\bin;"
I want to use some executable files in "d:\common\bin" with my web application hosted by IIS8, but I found that the web application could not find the executable files in "d:\common\bin", which should exist in "PATH"
Well, though I can just put the executable files into system32, but I just want to find why there exist such a problem and how to fix it. Thank you all!