SET /P variable=[promptString]
Требует Windows 2000/XP. Описание:
http://www.ericphelps.com/batch/userin/index.htm#set писал(а):
SET. This only works on Windows 2000 and newer. But it's about time Microsoft built in a way to get user input! When SET is used with the /P option, it will prompt the user for the value. For example:
set /p userin=Please enter your full name: