| language
Information, tips and tutorials for ZTree file manager
Choice
Purpose: A 32-bit alternative to CHOICE.COM, with added features. Author: Walt Pattinson License: Freeware Download: Choice.zip (38K) CHOICE.EXE is a 32-bit clone of CHOICE.COM. It adds the ability to display a multi-line text file as a menu, and to accept the Enter and Esc keys as choices.CHOICE clone for 32bit, V1.5 -- from WildeWare
Waits for the user to choose one of a set of choices.
CHOICE [/C[:]choices] [/N] [/S] [/T[:]c,nn] [/F[:]file] [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.
Extensions to original:
/?? Additional information on File, Prompt and Choices.
/?X Examples
/E Enable ENTER and ESC keys to Exit
will exit with ERRORLEVEL 0.
will exit with ERRORLEVEL 255.
/F[:]file Specify a Text File for choices and multi-line prompt.
Layout:
First line: Default /C values.
/C after /F will override file defaults
Remainder: The multiline prompt to display
File contents are optional
If /F and are both used, both prompts will be displayed.
If switches conflict, the last switch will override all previous values.
Contributors to this page: admin
and
JohnG
.
Page last modified on Sunday 08 of November, 2009 14:57:55 EST by admin.
Category: Utilities and extensions
