Batch...helpppp
Fermé
juju
-
21 avril 2004 à 09:45
M2 Messages postés 11 Date d'inscription mardi 27 avril 2004 Statut Membre Dernière intervention 9 juin 2004 - 29 avril 2004 à 17:45
M2 Messages postés 11 Date d'inscription mardi 27 avril 2004 Statut Membre Dernière intervention 9 juin 2004 - 29 avril 2004 à 17:45
A voir également:
- Batch...helpppp
- Fichier batch - Guide
- Msgbox batch ✓ - Forum Autoit / batch
- Net use batch - Forum Réseau
- Extension batch - Forum Windows
- Batch color - Forum Autoit / batch
1 réponse
M2
Messages postés
11
Date d'inscription
mardi 27 avril 2004
Statut
Membre
Dernière intervention
9 juin 2004
7
29 avril 2004 à 17:45
29 avril 2004 à 17:45
//je n'ai pas testé mais ca devrait marcher
@echo off
if not exist a:\fic1.txt goto nofic1
copy c:\fic2.txt a:\fic2.txt
del a:\fic1.txt
:nofic1
if not exist a:\fic2.txt goto nofic2
copy c:\fic3.txt a:\fic3.txt
del a:\fic2.txt
:nofic2
echo fin
voila ^^
@echo off
if not exist a:\fic1.txt goto nofic1
copy c:\fic2.txt a:\fic2.txt
del a:\fic1.txt
:nofic1
if not exist a:\fic2.txt goto nofic2
copy c:\fic3.txt a:\fic3.txt
del a:\fic2.txt
:nofic2
echo fin
voila ^^