Search notes:

cmd.exe: set /p

set /p allows to have the user enter a value and assign it to a environment variable.
The new line that echo writes can be piped into set /p to echo text without new lines.

See also

set
A usage of set /p is to let a user choose an option in a batch file.
Other cmd.exe commands

Index