bonjour a tous tout est dans le titre

mon batch fonctionne sous seven mais pas sur xp et ma problématique c'est que je ne peut rien installer sur mes machines sous xp peut-on faire autrement voici mon code
merci d'avance
Code bat : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
 
@echo OFF
 
rem Antony tech Genicourt
rem Ajout Espace Libre
rem pause
rem ajout espace pour les partitions disques 07/2009
 
cls
 
:action 
 
echo.
echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo ³                                                                          ³
echo ³         OUTIL PURGE ELYS                                                 ³
echo ³  ----------------------------------------------------------              ³
echo ³   LIBERE DE LA PLACE SUR LE DISQUE DUR                                   ³
echo ³                                                                          ³
echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
 
 
 
SET /P purge=Veuillez taper 1 LOG, 2 pour RAPPORT  3 pour SIM ET 4 EURODATA : 
 
IF '%purge%' == '1' GOTO LOG
IF '%purge%' == '2' GOTO RAPPORT
IF '%purge%' == '3' GOTO SIM
IF "%purge%" == "4" GOTO EURODATA 
 
 
:LOG
IF exist c:\temp\directorylist.txt del /F /Q /S c:\temp\directorylist.txt  > nul
IF exist c:\temp\directorylist.bat del /F /Q /S c:\temp\directorylist.bat > nul
echo for %%%%x in ( > c:\temp\directorylist.txt  
dir /s /b /ad C:\pupitre\log\*.* >> c:\temp\directorylist.txt 
echo ) do ( @echo off  >> c:\temp\directorylist.txt  
echo echo Processing %%%%x >> c:\temp\directorylist.txt  
echo if not errorlevel 1 rd /S /Q %%%%x) >> c:\temp\directorylist.txt  
ren c:\temp\directorylist.txt directorylist.bat  
call c:\temp\directorylist.bat  
del /F /Q  C:\pupitre\log
ECHO PURGE LOG
Pause
Goto action
 
:RAPPORT
Echo PURGE RAPPORT
setlocal
SET SOURCE=C:\pupitre\rapport
SET CIBLE=C:\TEMP
SET AGE=365
: Suppression des vieux fichiers de plus de 365 JOURS
For /F %%d in ('robocopy %SOURCE% %CIBLE% /minage:%AGE% /E /L /XX /NC /NS /NDL /NJH /NJS /NP') do del %%d
:fin
Pause
Goto action
 
:SIM
Echo PURGE JOURNAL SIM
setlocal
SET SOURCE=C:\MAGIC\JRLSIM\SIMSVG
SET CIBLE=C:\TEMP
SET AGE=365
: Suppression des vieux fichiers de plus de 365 JOURS
For /F %%d in ('robocopy %SOURCE% %CIBLE% /minage:%AGE% /E /L /XX /NC /NS /NDL /NJH /NJS /NP') do del %%d
:fin
Pause
Goto action
 
:EURODATA
Echo PURGE EURODATA
setlocal
SET SOURCE=C:\eurodata\edpos\traces
SET CIBLE=C:\TEMP
SET AGE=30
: Suppression des vieux fichiers de plus de 30 jours
 
For /F %%d in ('robocopy %SOURCE% %CIBLE% /minage:%AGE% /E /L /XX /NC /NS /NDL /NJH /NJS /NP') do del %%d
 
:fin
Pause
Goto action
 
Rem Fin de programme