codecombat/scripts/windows/coco-dev-setup/batch/scripts/ask_question.bat

5 lines
No EOL
162 B
Batchfile
Executable file

set /p res="%1 [Y/N]: "
set "result=unset"
if "%res%"=="Y" (set "result=true")
if "%res%"=="y" (set "result=true")
if "%result%"=="unset" (set "result=false")