Created
February 7, 2015 17:15
-
-
Save dck-jp/2f48834ef278e33a3fb7 to your computer and use it in GitHub Desktop.
snip
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
| :GetFrameworkVer32Helper64 | |
| @for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VC7" /v "FrameworkVer32"') DO ( | |
| @if "%%i"=="FrameworkVer32" ( | |
| @SET "FrameworkVersion32=%%k" | |
| ) | |
| ) | |
| @if "%FrameworkVersion32%"=="" exit /B 1 | |
| @exit /B 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment