In the Options go into Projects and Solutions -> VC++ Directories page and place this rows:

$(SystemRoot)\System32
$(SystemRoot)
$(SystemRoot)\System32\wbem

适用VC8的各种工程项目(包括移动设备的项目),如果在加了以后还出现这样的错误提示,将上面的三句删除掉,重新加一次就可以。
posted on 2009-02-16 16:09 Benjamin 阅读(2494) 评论(1)  编辑 收藏 引用 所属分类: VC

VS2005下error PRJ0003 : Error spawning 'cmd.exe'的解决方法 _VS2005


评论

# re: VS2005下error PRJ0003 : Error spawning 'cmd.exe'的解决方法 2010-09-19 11:27 Macshine
在Visual Studio中,选择工具->选项->工程和解决方案->VC++目录 

点击上方的像文件夹的按钮-新建行,然后在空白处添加cmd.exe所在的目录C:\Windows\System32\ (如果你是默认装在C盘的话)点击确定,就OK了。 

In VS, go to 

tools>options>projects and solutions>VC++ Directories 

click the little folder button (new line) then in the new line that appears put: 
C:\Windows\System32\