Share via


abort

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command stops the execution of a script with an error condition.

Syntax

abort

Parameters

None.

Remarks

The following code example shows how the execution of a script can be stopped by the abort command in case of failure. When abort is executed, all script processing stops, and an error is reported:

if number "%CCA_MEMORYSIZE%" < 16384
  echo "Not enough memory!"
  abort
endif

See Also

Concepts

Scripting Support Commands