@echo off @echo Give the backup folder a suffix @echo (preferably a date-time) @echo to go with the name. echo. set /p name= echo. echo copying selected folders in current user profile echo including Favorites, My Documents, echo Desktop, Local Settings, echo and Start Menu to drive D xcopy /s /h /i /r /c /q /y "%userprofile%\Favorites\*.*" "d:\docs & settings %name%\profile\Favorites" xcopy /s /h /i /r /c /q /y "%userprofile%\My Documents\*.*" "d:\docs & settings %name%\profile\My Documents" xcopy /s /h /i /r /c /q /y "%userprofile%\Desktop\*.*" "d:\docs & settings %name%\profile\Desktop" xcopy /s /h /i /r /c /q /y "%userprofile%\Local Settings\*.*" "d:\docs & settings %name%\profile\Local Settings" xcopy /s /h /i /r /c /q /y "%userprofile%\Start Menu\*.*" "d:\docs & settings %name%\profile\Start Menu" echo. echo copying batch file folder on drive C echo to drive D xcopy /s /h /i /r /c /q /y c:\bat\*.* "d:\docs & settings %name%\bat" echo. echo copying contents of DOS folder echo on drive C to drive D xcopy /s /h /i /r /c /q /y c:\dos\*.* "d:\docs & settings %name%\dos" echo. echo copying INI files (in "c:\program files") echo to drive D xcopy /s /h /i /r /c /q /y "c:\program files\*.ini" "d:\docs & settings %name%\inifiles" echo. echo copying hosts and other files echo (in c:\windows\system32\drivers\etc folder) to drive D xcopy /s /h /i /r /c /q /y c:\windows\system32\drivers\etc\*.* "d:\docs & settings %name%\hosts etc\" echo. echo copying selected Keynote and Opera files echo on drive C to drive D xcopy /s /h /i /r /c /q /y "c:\program files\opera\*.adr" "d:\docs & settings %name%\opera & keynote" xcopy /s /h /i /r /c /q /y "c:\program files\keynote\*.knt" "d:\docs & settings %name%\opera & keynote" echo. echo backing up the XP Registry echo with ERUNT and copying to drive D "c:\Program Files\ERUNT\erunt.exe" "d:\docs & settings %name%\erdnt" sysreg curuser otherusers /noconfirmdelete /noprogresswindow :end