1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| --------------------------------------------------------------------------
rem ======> Réglage Date
set day=%date:~0,2%
set month=%date:~3,2%
set year=%date:~6,4%
rem ======> Réglage Chemin Logs
set logsavedocs=C:\data\logs_save\Documents
rem ======> Création Dossier Logs par rapport à la Date en Cours
mkdir %logsavedocs%\%day%-%month%-%year%
rem ======> Copie des Profils du 1er Serveur
robocopy "\\server01\c$\users" "c:\data\save_profils\%day%-%month%-%year%\server01" /E /EFSRAW /R:0 /W:0 /ETA /TEE /LOG:%logsavedocs%\%day%-%month%-%year%\server01.log"
-------------------------------------------------------------------------- |
Partager