25/04/2008, 11h18
|
#1 (permalink)
|
|
Débutant(e)
Date d'inscription: août 2006
Localisation: Perdu dans la matrix d'un PC qui n'existe plus
Messages: 3 059
|
[Batch] - Comment lire un fichier ligne par ligne ?
Comment lire un fichier ligne par ligne ?
On utilise une boucle FOR coupler à la commande Type:
Code :
for /f "delims=" %%i in ('type fichier.txt') do echo %%i
__________________
Citation:
FAQ Batch sur Developpez.com
Un grand merci à: beejeridou, Skyounet, HiRoN, Eusebe, delphidelphi, SpaceFrog, bigboomshakala, sabotage, Celira, leodi, LGM, Guardian, shawn12, ced600, bouley, Ak3tO, badr, sloshy, bbil, piero-la-lune, Antoun, RadPAT, Médinoc, Bisûnûrs, Drizzt [Drone38], trollinou, Cybher, Heureux-oli, CIVODUL4, SnakeCharmer, {F-I}, The_badger_man, 12monkeys, et tous ceux qui m'ont aidé, pour leur précieuse aide qui en aide plus d'un
|
|
|
|