It supports more than just Y,N You can have it ask any 1 chr response.
@Echo off
Echo Select 1-5 to run some such thing, or A,B,C for somthing realy different.
Echo.
Echo Choice will default to 1 in 10sec
CHOICE /C:12345abc /N /T:1,10
If ErrorLevel blahblahblah
If ErrorLevel blahblahblah
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
ERRORLEVEL is set to offset of key user presses in choices.