The READLINE command

Use the nearly undocumented DOS command READLINE to read a line from the keyboard and place it in the batch parameter variables. Use the parameter /V for READLINE to convert the input into upper case. ("nearly undocumented" because READLINE /? works but you can't find anything about it in the online help)

Note: READLINE reads from the keyboard -- not from STDIN.