Share via


Where is vcvarsall.bat file?

Question

Monday, August 31, 2015 7:32 PM | 1 vote

Windows 7 64

Visual Studio 2015 community

I thought this file would be in C:\program files(x86)\Microsoft Visual Studio 14.0\VC\ but it's not. Should it be? If not, what's the alternative and how do I run the compiler from the command line? Am I missing something?

Ps. I am a complete novice.

All replies (6)

Wednesday, September 2, 2015 9:00 AM âś…Answered | 10 votes

Hi Thploons,

Thank you for posting in MSDN forum.

The vcvarsall.bat file is in C:\program files(x86)\Microsoft Visual Studio 14.0\VC\

I doubt that you didn't install visual C++ tools, in visual studio 2015, visual C++ tools is not installed by default, please go to Control Panel -> Uninstall a program, select visual studio 2015, right click, Change -> Modify, to see if the Visual C++ tools is selected, if it isn't selected, it means that you didn't install the visual C++ tool, please select it and then follow the installation steps to install it.

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


Monday, December 14, 2015 12:21 PM

I am confusing this for few days. It is really helpful for me.


Monday, May 22, 2017 7:06 PM

It may be in C:\Program Files (x86)\Microsoft Visual Studio\Shared\14.0\VC


Tuesday, July 4, 2017 8:10 AM

That is weird, why the bat file would end up in Shared/14.0/VC but not C:\program files(x86)\Microsoft Visual Studio 14.0\VC\


Monday, October 16, 2017 12:31 AM

In VS 2017 Preview, at least, it seems to appear in

    C:\Program Files (x86)\Microsoft Visual Studio\Preview\Professional\VC\Auxiliary\Build

This breaks building Python out-of-the-box.


Monday, April 23, 2018 6:20 PM | 3 votes

in the full release (of Professional at least) its now at C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build