windows - Add a progress bar to PST copy batch file -
i have basis of copy script (using xcopy) copy on files migrating on 1 pc (xp win7 in case).
here code: ...
xcopy /i /y /e /f "c:\documents , settings\%username%\favorites\*.*" h:\restore\ie favorites xcopy /i /y /s /f "c:\documents , settings\%username%\desktop" h:\restore\desktop xcopy /i /y /f "c:\documents , settings\%username%\application data\microsoft\outlook\*.nk2" h:\restore\outlook-nk2 xcopy /i /y /f "c:\documents , settings\%username%\application data\microsoft\signatures" h:\restore\signatures xcopy /i /y /f "c:\documents , settings\%username%\application data\microsoft\office\*.acl" h:\restore\office-autocorrectlists xcopy /i /y /f "c:\documents , settings\%username%\local settings\application data\microsoft\outlook\*.pst" h:\restore\pst1 xcopy /i /y /f "c:\documents , settings\%username%\application data\microsoft\outlook\*.pst" h:\restore\pst2 xcopy /i /y /f "c:\users\%username%\appdata\roaming\microsoft\outlook" h:\restore\roaming\outlook xcopy /i /y /f "c:\users\%username%\appdata\roaming\microsoft\signatures" h:\restore\roaming\signatures regedit /s /e h:\restore\hkcu-restoreodbc.reg "hkey_current_user\software\odbc\odbc.ini" regedit /s /e h:\restore\hklm-restoreodbc.reg "hkey_local_machine\software\odbc\odbc.ini" regedit /s /e h:\restore\restornetwork.reg "hkey_current_user\network" regedit /s /e h:\restore\hklm-restoreiecert_machine.reg "hkey_local_machine\software\microsoft\systemcertificates" regedit /s /e h:\restore\hkcu-restoreiecert_machine.reg "hkey_current_user\software\microsoft\systemcertificates" regedit /s /e h:\restore\restoreprinterconnections.reg "hkey_current_user\printers\connections
i'd add progress bar copying of pst portion of code, don;t know start this. mind helping me out few tips on how start this?
thanks much.
use robocopy instead of xcopy. see robocopy /?
Comments
Post a Comment