Last active
July 14, 2022 10:02
-
-
Save Devaniti/5b078265fdb200036b797989b36bd5e6 to your computer and use it in GitHub Desktop.
Script for finding Windows SDK path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -property installationPath`) do ( | |
set VSDetectedDir=%%i | |
) | |
call "%VSDetectedDir%\Common7\Tools\VsDevCmd.bat" > nul | |
echo %WindowsSdkVerBinPath% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment