Problème avec xcopy
Posté : 01 sept. 2011 16:04
Bonjour
Je débute dans les scripts .bat
Dans le "terminal" de W7, je tape
C:\>xcopy \Users\Bruno\Desktop\dossier\MM.txt \Users\Bruno\Desktop\
Ça marche, le fichier est bien copié
Maintenant je mets ça dans un fichier .bat
@echo off
xcopy \Users\Bruno\Desktop\dossier\MM.txt \Users\Bruno\Desktop\
Ça me marche pas. J'ai des lignes C:\Users\Bruno qui défilent dans le terminal
Merci d'avance
Je débute dans les scripts .bat
Dans le "terminal" de W7, je tape
C:\>xcopy \Users\Bruno\Desktop\dossier\MM.txt \Users\Bruno\Desktop\
Ça marche, le fichier est bien copié
Maintenant je mets ça dans un fichier .bat
@echo off
xcopy \Users\Bruno\Desktop\dossier\MM.txt \Users\Bruno\Desktop\
Ça me marche pas. J'ai des lignes C:\Users\Bruno qui défilent dans le terminal
Merci d'avance