Solved

Visual Studio New Install Problem (Cannot execute...)

Posted on 2002-05-07
4
500 Views
Last Modified: 2012-05-04
I have installed, (and reinstalled), visual studio 6.0
(sp5 update).
Have wrtiien a simple Hello.c program.

I keep getting several errors
Command Line error D2027
Cannot execute 'c:\windows\c1'
Error executie c1.exe

I have tried running a command prompt, and still get the d2027 error.

I notice quite a few comments re this problem, but, i am unable to see a solution.!!!

Would appreciate any advice on how to overcome this problem.
0
Comment
Question by:turnerrob
  • 2
4 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6995019
I suspect a PATH problem or an installation problem.

Are you running the VC++/Visual Studio environment or are you running from a CMD prompt??

If the IDE (environment/GUI interface) you should re-install.  Something is wrong.

If a CMD prompt, be sure you run the VC++ BAT file that sets the proper ENV vars and the PATH.
0
 

Author Comment

by:turnerrob
ID: 6995051
I am having the problem in compiling in visual studio and at the command prompt.
I have run the batch file etc., which loads ok. vcvars32.bat
Have reinstalled twice.
Will install on another machine , later, and see if it may be something on my computer.

regards
0
 
LVL 2

Expert Comment

by:jonnin
ID: 6995065
thats cl.exe, not c1, and its part of the compile/link
series.  Probably your paths and environment are not correct.
0
 

Author Comment

by:turnerrob
ID: 7004840
I have reinstalled on another machine, and all seems ok.
I think the problem was something to do with, the fact i had installed Visual Studio on the D: drive   at some time, uninslalled, and reinstalled on the c: drive.

Something must have beem left in the registry on the uninstall???

Regards turnerrob
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question