Benjamin

静以修身,俭以养德,非澹薄无以明志,非宁静无以致远。
随笔 - 386, 文章 - 0, 评论 - 196, 引用 - 0
数据加载中……

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

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 阅读(10802) 评论(3)  编辑 收藏 引用 所属分类: VC

评论

# re: VS2005下error PRJ0003 : Error spawning 'cmd.exe'的解决方法  回复  更多评论   

在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\
2010-09-19 11:27 | Macshine

# re: VS2005下error PRJ0003 : Error spawning 'cmd.exe'的解决方法[未登录]  回复  更多评论   

有用。
谢谢。
2010-11-13 11:17 | lee

# re: VS2005下error PRJ0003 : Error spawning 'cmd.exe'的解决方法  回复  更多评论   

up
2011-08-03 00:00 | wuji

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理