Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Other versions of this page are also available for the
following:
8/28/2008
This command indicates an unconditional alternative in an ifstatement.
Syntax
else |
Parameters
None.
Remarks
The following code example uses the elsecommand to decide which message to output:
Copy Code | |
---|---|
if string "%CCA_CURRENTLANGUAGE%" == "en-US" echo "Hello World" elseif string "%CCA_CURRENTLANGUAGE%" == "fr-CA" echo "Bonjour le Monde" else echo "Hello" endif |