Restore User Script

echo off

SET RAR="C:\Program Files\WinRAR\RAR.EXE"

IF NOT EXIST P:\ (
NET USE P: \\WDFS1\BACKUP
)

cd %USERPROFILE%
%RAR% x -y p:\%username%\desktopstuff.rar
C:
cd %APPDATA%\MICROSOFT
MKDIR SIGNATURES
XCOPY P:\%USERNAME%\SIGNATURES SIGNATURES /E /H /Y
CD %APPDATA%\
MKDIR MOZILLA
MKDIR MOZILLA\FIREFOX
MKDIR MOZILLA\FIREFOX\PROFILES
XCOPY P:\%USERNAME%\FIREFOX MOZILLA\FIREFOX\PROFILES /E /H /Y

Leave a Reply

Your email address will not be published. Required fields are marked *