Solved

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

Posted on 2002-05-07
4
497 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now