else
Other versions of this page are also available for the following:
8/28/2008
This command indicates an unconditional alternative in an if statement.
Syntax
else
Parameters
None.
Remarks
The following code example uses the else command to decide which message to output:
if string "%CCA_CURRENTLANGUAGE%" == "en-US"
echo "Hello World"
elseif string "%CCA_CURRENTLANGUAGE%" == "fr-CA"
echo "Bonjour le Monde"
else
echo "Hello"
endif