What is the location of file:
VCVARSALL.BAT
for Visual studio 2017?
The VC folder is within the Desktop development with C++
workload. Go to your add or remove programs and modify your Visual Studio 2017, and choose it as shown below:
click on Modify
(or Install/Setup
in other devices). Go check your folder *\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build* and you'll see the the vcvars64.bat.