The description below is from the book DOS the
Easy Way by Everett Murdock Ph.D.
for information about downloading the book.
Type: Internal (2.0 and later)
Purpose: Causes unconditional branch to the specified label.
Sends the program to the command found in the line immediately after the
A label is the first eight characters on a batch file line after a
label can be indented, as long as there are only spaces preceding it on
line. The label (the string of eight characters) can include spaces but
other restricted characters such as commas, semicolons, or equal
A label name after a GOTO command transfers processing to the line
the label. If a label is not found (or if the label contains illegal
characters), an error message is displayed and the batch file terminates.
For more information on GOTO and other batch commands, see Chapter 5,
Using Batch Files, in the downloadable
book DOS the Easy Way .
To create a batch file that will function as an infinite loop displaying
the message This is an infinite loop, enter