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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

constantly getting "Error executing c:\winnt\system32\cmd.exe."

Status
Not open for further replies.

ADoozer

Programmer
Dec 15, 2002
3,487
AU
im working on a downloaded workspace containing 5 projects. ive not altered any of the code yet but when i try and compile i constantly get the following error.

"Error executing c:\winnt\system32\cmd.exe."

on environmental variables are set and libraries and includes are set (as per the readme file)

any help appreciated.

If somethings hard to do, its not worth doing - Homer Simpson
adoozer.servebeer.com
 
hard to say but have you check the simple things, e.g.

does the file exist?

the path may be slightly different is what i'm getting at, i.e. case sensitive or path may be:

"C:\WINDOWS\SYSTEM32\"

 
yes cmd.exe exists,
and as far as i know the case of the folder path is set on windows install to an environmental variable (in this case winnt[2kpro])

could this be in any way related to service pack 6?? (first time ive used C++ since i upgraded studio to SP6)

thnx in advance.

If somethings hard to do, its not worth doing - Homer Simpson
adoozer.servebeer.com
 
Windows 2000 by default installs to \WINNT\ I believe, so you might want to change it to C:\WinNT\System32\cmd.exe perhaps?
 
sorry my fault.

yes cmd.exe IS in c:\winnt\system32

i was just saying that in my case it was winnt not windows (as Shetland points out his path is).

the path is stored in the environmental variables under "PATH".

i dont think this is a directory naming issue however as VC has worked perfectly for nearly 9 months.

any help realy appreciated

If somethings hard to do, its not worth doing - Homer Simpson
adoozer.servebeer.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top