diff --git a/runprebuild.bat b/runprebuild.bat index f366175135..e2b68326b5 100755 --- a/runprebuild.bat +++ b/runprebuild.bat @@ -34,7 +34,7 @@ if defined FOUNDGREP ( ) rem try vs2015 -FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14" /v %VALUE_NAME% 2^>nul ^| %FINDCMD% "%VALUE_NAME%"`) DO ( +FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0" /v %VALUE_NAME% 2^>nul ^| %FINDCMD% "%VALUE_NAME%"`) DO ( set ValueValue=%%C goto :found )