Variables
Defining a variable with SET, using it with percent signs, and getting input from the user.
Simple enough for a 5-year-old to understand
Assign value with SET
Variables are defined with SET. When using its value, you wrap its name in percent signs.
@echo offset name=Alexecho Hello %name%Get input from the user
set /p city=Enter city: echo Entered: %city%🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)