Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am trying to run VS2010 command prompt but it gives error

C#
'cl.exe' is not recognized as an internal or external command


I have googled it found the below solution but unfortunately it did not help me still
the issue is there.


[^]

I set path variable in advance system properties. but still the issue is there.
what may be the possible reason.

Note -On My machine I am having VS2010,VS2012,VS2015
Posted
Comments
Sergey Alexandrovich Kryukov 12-Jan-16 1:00am    
Why would you need to execute cl.exe directly?
Indeed, the path to it is not prescribed in that specialized command prompt environment. Probably this is not done because nobody assumed that it might be needed. If you think you need it, modify the batch file to provide access to one or more of cl.exe files (there are separate files per instruction-set architecture).
—SA

1 solution

Add the location of cl.exe in the PATH environment variable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900