Copy this in a notepad and save with extension cmd:
rem The script can use to restore the personal settings from the User Account
cls
@echo off
echo.
echo.
echo Please type in the username who you like to restore the personal fiels.
echo.
echo.
echo.
set uservar=""
set /p uservar=Input:
echo %uservar%
xcopy "d:\Backup$\PersonalBackup\%COMPUTERNAME%\%uservar%\Favorites\*.*" "C:\Documents and Settings\%uservar%\Favorites\" /I /Y /H /E
xcopy "d:\Backup$\PersonalBackup\%COMPUTERNAME%\%uservar%\Signatures\*.*" "C:\Documents and Settings\%uservar%\Application Data\Microsoft\Signatures\" /I /Y /H /E
xcopy "d:\Backup$\PersonalBackup\%COMPUTERNAME%\%uservar%\Desktop\*.*" "C:\Documents and Settings\%uservar%\Desktop\" /I /Y /H /E
xcopy "d:\Backup$\PersonalBackup\%COMPUTERNAME%\%uservar%\My Documents\*.*" "C:\Documents and Settings\%uservar%\My Documents\" /I /Y /H /E
xcopy "d:\Backup$\PersonalBackup\%COMPUTERNAME%\%uservar%\Outlook\*.*" "C:\Documents and Settings\%uservar%\Application Data\Microsoft\Outlook\" /I /Y /H /E
echo.
echo.
echo Restore completed successfully!
echo Please verify the Data
echo Encoded by MEC
echo.
Pause
Abonați-vă la:
Postare comentarii (Atom)
Niciun comentariu:
Trimiteți un comentariu