(view source code of userin.bat as plain text)
:: How to use the TYPE CON command to receive user input
:: Written by Rob van der Woude
ECHO Only the last non-empty line will be remembered, leading spaces are ignored.
:: Only one single command line is needed to receive user input
:: Use quotes if you want to display redirection characters as well
ECHO You typed: "%INPUT%"
page last modified: 2023-03-10