choice Command Examples

Prompt user to select a choice and return the selected choice index. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/choice.

choice

choice /c {{AB}}

choice /m "{{message}}"

choice /cs /c {{Ab}}

choice /t {{5}} /d {{N}}

choice /?