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 ?
This choicely bred youngster seems to be destined for bigger and better things and he should be in command by the penultimate turn.
The sole foal on offer by Mr Greeley is choicely bred, being out of Group 3 winner Raymi Coya (670).
This choicely bred filly confirmed previous promise when getting off the mark in a maiden at Lingfield last time and the speed she showed there suggests she will be seen in an even better light over this minimum distance.
Tamayuz has a dozen on offer in Book 2, including the choicely bred half-brother to Listed winner Viz from Gortskagh House Stud (666) and the half-brother to Group 3 scorers Hattan and Tastahil presented by The Beeches Stud (819).
Sandra Ralph's choicely bred October '95 bitch has been crying out for this 835-metre marathon trip and seems to have been handed a decent starting position by the grader.