Displays a dialog box prompting user to input a string.
inputbox <message> <title> [<default> [<special>]]
The <message> is displayed in the dialog box. The <title> is displayed as the dialog box title. The string entered by the user is returned in the system variable "inputstr".
The <default> is default string on edit control. If it is not specified, ''(empty) is used.
If <special> is non-zero, following strings in <message> is treated as spacial character.
If <special> is not specified then 1 is used.
input | output |
---|---|
\\ | "\" |
\n | line feed |
\t | tab |
inputbox 'Password:' 'Login' sendln inputstr