Plus ça va et moins je comprends l'informatique

J'ai dans un .bat ce code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
SET COBDIR=\\Unither\D$\Prodreel\runt
SET P2XM=N
SET SERVDIR=\\Unither\D$\prodreel
SET HOME=\\Unither\D$\prodreel
SET PATH=\\Unither\D$\prodreel;\\Unither\D$\prodreel\runt
P:
cd \prodreel\P2F
del BILOFM.CSV
del BILOF.CSV
cd \prodreel
run (+3) P23002 0101910910P22405
run (+3) P23002 0101910910P22403
qui permet d'executer une action sur une GPAO (ceci fonctionne très bien)

Lorsque j'ajoute

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
xcopy \\Unither\D$\PRODREEL\P2F\BILOFM.CSV \\Unither\commun\BASE_PRODSTAR\ /Y
xcopy \\Unither\D$\PRODREEL\P2F\BILOF.CSV \\Unither\commun\BASE_PRODSTAR\ /Y
cette partie ne s'execute pas (pas de trace des fichiers dans le repertoire)

mais si je fais cette partie dans un autre .bat ça fonctionne