Command Prompt for Windows




Command GETSTR

Function:

Wait for a sequence of keypresses from the user. The sequence of characters is stored in an environment variable called GETSTR.

Syntax:

GETSTR [message]
messageSequence of characters.

Note:

Also see command GETKEY, GETNUM and Batch Files.