I want to compile a code in software which is needed to call visual c++;My Os is windows cp professional; I've installed visual studio professional v10.but it still shows an error message indicating "check if bin directory of your visual c++ is included in the path environment variable", where this action must be done?


I added that Path but now it says " Check that Visual C++ has been installed correctly" how I gotta check? I executed a program in Visual C++ and it s working nicely.

link|improve this question

59% accept rate
Duplicate question, for answer, see: superuser.com/questions/163891/environment-variables-windows7/… – Tom Wijsman Aug 11 '10 at 14:27
Those instructions are not very good. – paradroid Aug 11 '10 at 14:28
Nothing wrong with those instructions, although I didn't know of setx. – Tom Wijsman Aug 11 '10 at 14:42
I think it is hard to edit long environmental variables in that GUI and it also seems a bit perverse! – paradroid Aug 11 '10 at 14:50
feedback

3 Answers

up vote 3 down vote accepted

Go to

System Properties (press windows key + pause/break)
Advanced
Environment Variables
System variables

Add the required path there

link|improve this answer
feedback

In a CMD prompt, type:

path

To add to your user account path:

setx path "%path%;C:\foo"

For the system path:

setx path "%path%;C:\foo" -m
link|improve this answer
I added that Path but now it says " Check that Visual C++ has been installed correctly" how I gotta check? I executed a program in Visual C++ and it s working nicely. – user44509 Aug 11 '10 at 16:04
feedback

Your visual studio installation should have added a menu item for under Tools for the VS 2008 command prompt - this will usually set the appropriate environment for you.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.