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:
Windows Mobile Not Supported Windows 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 abortcommand in case of failure. When abortis executed, all script processing stops, and an error is reported:

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

See Also