"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" doesn't set the path correctly

Thom BENTLEY 0 Reputation points
2024-03-14T19:43:58.2833333+00:00

I have visual studio 2022 and 2015 installed.
When I run

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 10.0.22621.0

The path is set to include C:\Program Files (x86)\Windows Kits\10\bin\x86
However, that path doesn't include the binaries.
They are in C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0

I thought vcvarsall.bat would select the right version since I passed it on the command line. What's preventing the correct folder from being added to the PATH?
Thank you.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,567 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
956 questions
{count} votes