Share via


quit

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command terminates the execution of a script.

Syntax

quit

Parameters

None.

Remarks

A script terminated using the quit command is considered to have successfully executed, as opposed to the abort command, which is treated as an error.

The following code example shows the use of the quit command to terminate execution of a script:

if boolean `pkginstalled MyPackage` == TRUE
  echo "Package already installed"
  quit
endif

See Also

Concepts

Scripting Support Commands