Partager via


abort (Windows Embedded CE 6.0)

1/6/2010

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