if is not recognized as an internal command batch file code example
Example: batch 'else' is not recognized as an internal or external command, operable program or batch file.
if exist "%userprofile%\.android\avd\%avdName%.avd" (
msg %username% 'true'
) else (
msg %username% 'false'
)