Introduction: Simple Batch File "Me" Quiz
For some people, there might be a little bug.
- Open notepad
- Copy and paste code below
- Save it as me.bat and click Text Documents and change it to All Files
echo Hello. What is your name? (no complete sentences)
set /p name= cls echo Hello %name%! What is your favorite hobby?
set /p hobby= cls echo Nice. I don't have a hobby because I am just a computer. How old are you?
set /p age=
echo Do you have any experiences with programming?
set /p pro=
if %pro%==yes (
)else if %pro%==no (
echo Really? What languages do/did you use?
set /p lang=
echo Okay. pause goto next
echo That's okay.
echo Bye %name%.
echo Made by CodeSmartz
echo Do you want to restart?
set /p restart=
if %restart%==yes (
)else if %restart%==no (
)else goto next