kenlistian

勤学多思

  IT博客 :: 首页 :: 新随笔 ::  :: 聚合  :: 管理 ::
  412 随笔 :: 0 文章 :: 23 评论 :: 0 Trackbacks

vc6“Build”或者“Compile”菜单的时候,发现在输出窗口显示了以下信息:Error spawning 'vcspawn.exe'. The build could not be performed。然后熟悉的VC就不听你的使唤了!

添加(或者修改)环境变量ComSpec,设定其置为:c:\WINDOWS\system32\cmd.exe

重启Vc.

2.

vcspawn.exe在你的路径


F:\lylong\Bin>where vcspawn.exe
E:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\vcspawn.exe
F:\lylong\Bin>path
PATH=E:\WINNT\system32;E:\WINNT;E:\WINNT\System32\Wbem;F:\lylong\Bin;E:\PROGRA~1\ULTRAE~1;E:\cyg
win\bin;E:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;E:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;E:\Program Files\Microsoft Visual Studio\Common\Tools;E:\Program
Files\Microsoft Visual Studio\VC98\bin;E:\Program Files\SecureCRT 3.0;C:\ThinkPad;C:\IBMTools;C
:\MSSQL7\BINN;
F:\lylong\Bin>set C
ComSpec=E:\WINNT\system32\cmd.exe

posted on 2013-09-17 09:20 kenlistian 阅读(573) 评论(0)  编辑 收藏 引用
只有注册用户登录后才能发表评论。