vendredi 18 février 2011

sauvegarde profil XP office2003

REM COPIE DU BUREAU
xcopy /E /V /W /I /F /H /-Y "C:\Documents and Settings\%username%\Bureau" "\\server\Donnees\%username%\Mes

documents\sauvegarde du %date:~0,2%%date:~3,2%%date:~6,4%\bureau"


REM COPIE DES FAVORIS
xcopy /E /V /W /I /F /H /-Y "C:\Documents and Settings\%username%\favoris" "\\server\Donnees\%username%\Mes

documents\sauvegarde du %date:~0,2%%date:~3,2%%date:~6,4%\favoris"


REM COPIE DES NK2 outlook
xcopy /E /V /W /I /F /H /-Y "C:\Documents and Settings\%username%\Application Data\Microsoft\Outlook\*.NK2"

"\\ser\Donnees\%username%\Mes documents\sauvegarde du %date:~0,2%%date:~3,2%%date:~6,4%\Application

Data\Microsoft\Outlook"

REM COPIE DES PST Outlook
xcopy /E /V /W /I /F /H /-Y "C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook\*.PST"

"\\server\Donnees\%username%\Mes documents\sauvegarde du %date:~0,2%%date:~3,2%%date:~6,4%\Local Settings\Application

Data\Microsoft\Outlook"

REM WAB
xcopy /E /V /W /I /F /H /-Y "C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook\*.wab"

"\\server\Donnees\%username%\Mes documents\sauvegarde du %date:~0,2%%date:~3,2%%date:~6,4%\Local Settings\Application

Data\Microsoft\Outlook"


pause

Aucun commentaire:

Enregistrer un commentaire