【VC++】生成“cmd.exe”时出错
直接Visual Studio 2005/2008中进行如下设置:
tools= > Options = > Projects and Solutions - > VC++ Directories page
把$(PATH)改成:$(SystemRoot)\System32;$(SystemRoot) ;$(SystemRoot)\System32\wbem
tools= > Options = > Projects and Solutions - > VC++ Directories page
把$(PATH)改成:$(SystemRoot)\System32;$(SystemRoot) ;$(SystemRoot)\System32\wbem