Scripting & Batch

choice

Prompt the user to pick one option from a list.

choice /c YN /m "Continue?"

/c allowed choices · /m message text

Practice line — try it from memory, then reveal

choice /c YN /m "Continue?"