Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error executing c:\windows\system32\cmd.exe

Status
Not open for further replies.

Payton06

Programmer
Apr 22, 2006
2
US
Hello Everyone,

I'm new to C++, so I'm hoping someone here can point me in the right direction. When a perform a "Rebuild All" on my project,I keep receiving the error message below:

Linking...
Creating library Debug/AxeBRules.lib and object Debug/AxeBRules.exp
The system cannot find the path specified.
Error executing c:\windows\system32\cmd.exe.

AxeBRules.dll - 1 error(s), 0 warning(s)


I've verified that the cmd.exe file was indeed in the correct directory and that I had a path pointing towards it in the executable directory. Has anyone else ever experienced this error? Any help would be greatly appreciated.

Thanks in advance
Jason
 
If the program is running anywhere, close it.

If the source files were made on UNIX, they don't have CRLF at the end of the lines. If you open them in Notepad you can tell this if it looks like one incredibly long line of text. If you open it in Wordpad and re-save it, the end of line characters will be fixed.

If that doesn't help, try deleting the .ncb files and rebuilding.
 
Thanks...but unfortunately I haven't made any progress.The source files were created in Microsoft Visual C++. I deleted the .ncb files and tried rebuilding but received the same results. Please let me know if you have any other suggestions.
 
I've used this in the past to track down similar problems when it wouldn't even tell me the name of the file it was looking for.

> Error executing c:\windows\system32\cmd.exe.
For example, is the final . part of what it tried to run, or just the end of the sentence?

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top