SET with the prompt option works like this:
Code:
C:> SET /P myvar="Enter password: "
Enter password: abcdef
C:> SET myvar
myvar=abcdef
To get help for SET, use HELP SET.
(Or "HELP SET > set.txt" and read it in notepad.)
HELP by itself lists all commands.
Google "windows batch files" for tutorials.