Microsoft DOS choice commandQuick links
Allows for batch files and scripts to wait for the user to choose a set of choices.
The choice command is an external command and is available in
choice [/C[:]choices] [/N] [/S] [/T[:]c,nn] [text]
|/C[:]choices||Specifies allowable keys. Default is YN|
|/N||Do not display choices and ? at end of prompt string.|
|/S||Treat choice keys as case sensitive.|
|/T[:]c,nn||Default choice to c after nn seconds|
|text||Prompt string to display|
See batch file page for additional examples and uses of the choice command.