Reader Level:
Article
How do I

Error Result 1 Returned from 'C:\WINDOWS\system32\cmd.exe'

By Nipun Tomar on Feb 04 2009
I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2008.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 30.3k
  • 0

Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'

I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2008:

Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

It only comes up with a C++ program. VB seems to be fine.

The problem was in manifest file and here is the solution

Project Properties --> Manifest Tool --> Input and Output

Change value of "Embed Manifest" from YES to NO.

Untitled-1.gif