Command Prompt for Windows




Command UNTIL

Function:

Conditionally perform a command zero or more times.

Syntax:

UNITL [NOT] condition DO command
conditionIs the following :-
( expr )Evaluate the parameter expr. A zero result is false, otherwise the condition is true. Parameter expr follows the same rules as parameter expr for command CALC. The brackets around parameter expr are mandatory and must be specified.
commandSpecifies the command to carry out if the condition is met. Parameter command can also be another UNTIL command.
NOTCarry out the command only if the condition is false.

Note:

Examples on using UNTIL.

Also see command CALC, DO, WHILE, FOR, Command Grouping and Batch Files.