Choice Topics | Previous | Next

Choice Examples: Using Choice in Batch Files

When you use the following syntax in a batch file:

  choice /c:ync

causes the following to display when Choice is started:

  [Y,N,C]?

Adding text to the syntax:

  choice /c:ync Yes, No, or Continue

causes the following to display when Choice is started:

  Yes, No, or Continue [Y,N,C]?