Si tu es bloqué au niveau des commandes de nettoyage, voici une petite procédure en Vbscript que tu peux l'intégrer avec le 1er script que j'ai posté.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 Sub Nettoyage() Dim Command(3),strCommand,Execution Set ws = CreateObject("wscript.Shell") Command(0) = "cmd /c DEL /Q/S/F C:\MultiMC_update\pd.7z" Command(1) = "cmd /c DEL /Q/S/F C:\MultiMC_update\pm.7z" Command(2) = "cmd /c DEL /Q/S/F C:\MultiMC_update\pr.7z" Command(3) = "cmd /c DEL /Q/S/F C:\MultiMC_update\pt.7z" For Each strCommand In Command Execution = ws.Run(strCommand,0,True) Next End Sub
Partager