Batch : chercher fichier et ajout de lignes
Fermé
thor-aie
-
1 févr. 2010 à 17:04
cs-bilou Messages postés 769 Date d'inscription dimanche 2 décembre 2007 Statut Membre Dernière intervention 24 février 2011 - 1 févr. 2010 à 18:40
cs-bilou Messages postés 769 Date d'inscription dimanche 2 décembre 2007 Statut Membre Dernière intervention 24 février 2011 - 1 févr. 2010 à 18:40
A voir également:
- Batch : chercher fichier et ajout de lignes
- Fichier batch - Guide
- Msgbox batch ✓ - Forum Autoit / batch
- Net use batch - Forum Réseau
- Extension batch - Forum Windows
- Color batch - Forum Autoit / batch
1 réponse
cs-bilou
Messages postés
769
Date d'inscription
dimanche 2 décembre 2007
Statut
Membre
Dernière intervention
24 février 2011
164
1 févr. 2010 à 18:40
1 févr. 2010 à 18:40
Voilà tu peut faire un truc comme ça:
Bilou.
@echo off for /f "delims=" %%i in ('dir C:\Fichier_a_trouver.txt /b /s') do ( for /f "delims=" %%j in ('type "Fichier_a_ouvrir.txt"') do ( echo %%j>>%%i )) pause
Bilou.