GOTO (Command Processor)
Other versions of this page are also available for the following:
8/28/2008
This command directs the command processor to a labeled line in a batch program.
GOTO label
Parameters
- label
Specifies a text string used in the batch program as a label.
Remarks
In the batch file, you type a label on a line by itself, beginning with a colon. The GOTO command also accepts a target label of :EOF, which transfers control to the end of the current batch script file. The :EOF label provides an easy way to exit a batch script file without defining a label.