Here's how it is done:

IF whatever THEN
    do whatever
   GOTO Stop
ENDIF

whole bunch more code

LABEL Stop
EXIT
RETURN


On 12/31/2013 3:18 PM, Ronald C Peterson wrote:
I have a cmd file with an EXIT inside a IF statement that instead of exiting leaves the user in a loop with the screen flashing. If the EXIT is outside the IF statement it seems to work okay.

Is there something special to do in order to EXIT from inside the code?


Reply via email to