Share via


Conditional Expressions

The following table shows the conditional expressions.

Command Definition
if Evaluates the expression and conditionally executes a set of script commands.
else Indicates an unconditional alternative in an if statement.
elseif Indicates a conditional alternative in an if statement.
endif Makes the end of a conditional block of script commands started with a previous if command.

See Also

Device Management Script Engine Commands | Environment Commands | File System Commands | Registry Commands | Schedule/Report Commands | Scripting Support Commands | System Commands

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.