Index | Notes | Examples Batch



GOTO

Directs MS-DOS to a line in a batch program that is marked by a label you specify. You can use this command only in batch programs. The GOTO command directs MS-DOS within a batch program to a line identified by a label. When MS-DOS finds the label, it processes the commands beginning on the next line. Syntax GOTO label Parameters label Specifies the line in a batch program to which MS-DOS should go.
-Top- | Notes | Examples Batch