Problème de FOR batch
Résolu/Fermé
ccgauche
Messages postés
10
Date d'inscription
mercredi 18 mai 2016
Statut
Membre
Dernière intervention
28 mars 2017
-
18 mai 2016 à 10:17
ccgauche Messages postés 10 Date d'inscription mercredi 18 mai 2016 Statut Membre Dernière intervention 28 mars 2017 - 18 mai 2016 à 12:49
ccgauche Messages postés 10 Date d'inscription mercredi 18 mai 2016 Statut Membre Dernière intervention 28 mars 2017 - 18 mai 2016 à 12:49
A voir également:
- Problème de FOR batch
- Fichier batch - Guide
- Download instagram for pc - Télécharger - Divers Communication
- Saveaspdf.exe for office 2007 - Télécharger - Bureautique
- Copytrans heic for windows - Télécharger - Visionnage & Diaporama
- Idm for mac - Télécharger - Téléchargement & Transfert
2 réponses
dubcek
Messages postés
18718
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
22 mars 2024
5 615
18 mai 2016 à 11:09
18 mai 2016 à 11:09
hello
il faut sortir de la boucle après avoir lu la 2ème ligne, sinon il continue jusqu'à la fin du fichier
il faut sortir de la boucle après avoir lu la 2ème ligne, sinon il continue jusqu'à la fin du fichier
:m
FOR /f "skip=%skip%" %%i in £code.txt¤ do set a=%%i&goto :fini
:fini
echo %a%
pause >nul
ccgauche
Messages postés
10
Date d'inscription
mercredi 18 mai 2016
Statut
Membre
Dernière intervention
28 mars 2017
18 mai 2016 à 12:49
18 mai 2016 à 12:49
Merci beaucoup