Share via


abort

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

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

Scripting Support Commands

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.