Command Line

Command GOTO

Function:

Switch to another part of the batch program, and continue executing the program from that point.
Syntax:
GOTO label
labelSequence of characters.
Note:
  • The label must also appear on its own line elsewhere in the batch program, preceded by a colon, for example :-
    GOTO end
    ...
    ...
    ...
    :end
  • Also see command GOSUB and Batch Programs.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc