Project : error PRJ0003 : Error spawning 'cmd.exe'.

更改环境变量PATH所致,使得环境变量被破坏 %SystemRoot% 不能被解析。

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

增加:$(SystemRoot)\System32

原文地址:https://www.cnblogs.com/iluzhiyong/p/3015941.html