Choice

(redirected from choicely)
Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Idioms.

Choice

A Windows command that allows a batch file to include multiple tasks and lets the user choose which one to perform. Choice accepts a single character as input. The syntax varies between Windows versions; however, the following three-character example works in Windows Vista, 7 and 8. See batch file abc's.
@echo off choice /c abcif errorlevel 3 goto thingcif errorlevel 2 goto thingb(do thing a here)goto end:thingb(do thing b here)goto end:thingc(do thing c here):end


The allowable characters follow the /c, and the example above prompts the user with [A, B, C]?. If any other character is entered, the computer beeps. The input character is stored as an error level: "a" becomes error level 1; "b" is 2 and "c" is 3.
References in periodicals archive ?
Sir Henry Cecil's choicely bred three-year-old has scope for further improvement off her relatively low mark.
Inevitably there is some overlap between contributions, but this is a book that every higher education library should possess: it counterbalances choicely expressed material for undergraduates with demonstration of the remodelling of Arthur in linguistic contexts which will be new to many scholars.
Speaking of views, we had hoped to find a fine iced tea at two of the area's most choicely located restaurants, SweetWaters and McMenamin's North Bank.
A half-sister of an Irish Oaks third and some choicely bred and exceptionally promising pups by Droopys Jet are among an impressive batch to be auctioned by Craig Grove.
Having been a beaten favourite on her first two runs, this half-sister to Kempton specialist Stand Guard went to her spiritual home to take on some choicely bred rivals in August.