Yes I know the world have moved beyond visual studio 2013, but at office we are stuck with Visual studio 8 and after working for some time, it spits the following error.
Error 4 Error spawning ‘cmd.exe’.
Then, I have to close the visual studio and restart again. This works. Although not ideal, I was happy doing this as writing the method was more important than tinkering with visual studio.
Last week I had enough and decided to google and get this sorted.. So here’s the solution from ever useful stack overflow that worked like a charm for me.
Just open Tools -> Options -> Projects and Solutions -> VC++ Directories
and add these lines :
Now back to work!!!