Share via


quit

This command terminates the execution of a script.

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

Scripting Support Commands

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.