Solved

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

Posted on 2002-05-07
4
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

734 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