VCVARSALL.BAT for Visual studio 2017

What is the location of file:


for Visual studio 2017?

Jon Skeet

I don't believe there is such a file - but there is VsDevCmd.bat which I believe satisfies most of the same use cases. (That's certainly what I have as my default command prompt.)

It's in Common7\Tools in the x86 part of the VS installation. For example, my command prompt shortcut "target" is:

%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat""


See more on this question at Stackoverflow