【VC++】生成“cmd.exe”时出错

直接Visual Studio 2005/2008中进行如下设置:

tools= >   Options   = >   Projects   and   Solutions   - >   VC++   Directories   page  

把$(PATH)改成:$(SystemRoot)\System32;$(SystemRoot) ;$(SystemRoot)\System32\wbem
原文地址:https://www.cnblogs.com/cuishao1985/p/1714364.html