Goto
From Wiki
goto
Flow Control
Synopsis
goto {label name}
Description
The goto command moves the execution to another part of the script. The destination point is given by a label.
Labels
A label specifies a point in the code where you can goto to.
NOTE: a label in the code must be followed by a colon, where as gotoing to the label does not require a following colon.
Example
loop: if %donotloop goto exit goto loop exit:
See Also
Main_Page | Documentation |