Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This command directs the command processor to a labeled line in a batch program.
GOTOlabel
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.
See Also
Command Processor Commands | Command Processor Shell
Send Feedback on this topic to the authors