« DOS/Goto » : différence entre les versions

Contenu supprimé Contenu ajouté
Commande goto
 
Terminer un batch, label :eof
Ligne 10 :
:plusloin
ECHO Instruction interprétée
 
===Terminer un batch===
Pour sortir du batch, le label spécial <tt>:eof</tt> peut être utilisé :
ECHO Instruction interprétée
GOTO :eof
ECHO Instruction 1 sautée
ECHO Instruction 2 sautée
 
[[Catégorie:DOS]]