DOS/Goto
< DOS
IntroductionModifier
Commande interne DOS, elle est utilisée dans un batch pour poursuivre l'exécution au label spécifié.
UtilisationModifier
GOTO label
ExempleModifier
GOTO plusloin ECHO Instruction sautée :plusloin ECHO Instruction interprétée
Terminer un batch ou une sous-routineModifier
Pour sortir du batch ou d'une sous-routine, le label spécial :eof
peut être utilisé :
ECHO Instruction interprétée GOTO :eof ECHO Instruction 1 sautée ECHO Instruction 2 sautée