Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

VC++ doesn't want to build, says it can't spawn cmd.exe?

My Visual C++ 2008 Pro Edition doesn't complete building any program successfully, not anymore I mean. When it's done with the process, it displays this in the Error Description column:

"Error spawning cmd.exe" My CMD is fine. BUT, IT'S ALSO GOOD TO NOTE THAT THE PROBLEM STARTED TO OCCUR THE SAME DAY I DOWNLOADED Dev-C++. Might this be the problem? If yes, how to solve it, without uninstalling Dev-C++? If no, then what to do next? What is spawning anyway? Never heard of it before.

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Spawning is referred to the process of one process launching another process.

    If your cmd is fine, then your system path must have some problems.

    goto system properties(right click my computer, properties) and goto the advances tab, click the environment variables button. In the new window, there should be something called PATH in the lower part of the window, select it and press edit. Make sure

    c:\windows

    and

    c:\windows\system32

    are in there, also these paths are to be seperated by a semi colon;

    That might help your problem

  • Anonymous
    1 decade ago

    Someone else had your problem with Visual Studio and solved it. The solution is here:

    http://social.msdn.microsoft.com/Forums/en-US/Vsex...

Still have questions? Get your answers by asking now.