Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

What Is Your Name Code

$
0
0

@echo off
title what's your name?
echo hi! 
:menu
set /p name=what's your name? 
if %name% == name goto name
echo are u sure that's your name?
goto menu

:name
echo hi name
goto menu

you'll need to edit where it says

if %name% == name goto name

to

if %name% == (your name) goto (your name)

then edit :name to : (your name).

you can add in more

if %name% == (your name)

if you want other people to test it, too. Make sure for every name you add, you make a new section at the bottom like this:

:(the name)

echo hi (the name)

goto menu


thanks!


Bob Blork - Mark as answer if it helped!



Viewing all articles
Browse latest Browse all 11372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>