Answers for "how to make yes no question in bat scrip script"

0

how to make yes no question in bat scrip script

@echo off

echo Are you a programmer?

choice
IF ERRORLEVEL 2 goto No
IF ERRORLEVEL 1 GOTO Yes

:Yes
echo You are a programmer! :)

timeout 5
exit

:No
echo you are not a programmer! :(

timeout 5
exit
Posted by: Guest on November-19-2020

Code answers related to "how to make yes no question in bat scrip script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language