This file contains 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 | |
setlocal ENABLEEXTENSIONS | |
set KEY_NAME=HKLM\SOFTWARE\Android Studio | |
set VALUE_NAME=Path | |
set STUDIO_PATH= | |
FOR /F "tokens=2*" %%A IN ('REG.exe query "%KEY_NAME%" /v "%VALUE_NAME%"') DO (set STUDIO_PATH=%%B) | |
if "%STUDIO_PATH%" == "" ( | |
echo Android Studio not installed, please download Android Studio 3.5.3 from https://developer.android.com/studio |