ReGameDLL_CS/getucrtinfo.bat

20 lines
443 B
Batchfile
Raw Permalink Normal View History

@echo off
if defined VS150COMNTOOLS (
if not exist "%VS150COMNTOOLS%vcvarsqueryregistry.bat" goto NoVS
call "%VS150COMNTOOLS%vcvarsqueryregistry.bat"
goto :run
) else if defined VS140COMNTOOLS (
if not exist "%VS140COMNTOOLS%vcvarsqueryregistry.bat" goto NoVS
call "%VS140COMNTOOLS%vcvarsqueryregistry.bat"
goto :run
)
:NoVS
echo Error: Visual Studio 2015 or 2017 required.
exit /b 1
:run
echo %UniversalCRTSdkDir%
echo %UCRTVersion%