// MYNAME is the variable name set /p MYNAME="Name: " // To print the entered variable echo'%MYNAME%'