pause -- do not continue use Ctrl+Break or Ctrl+^ to terminate pause -- STOP -- do not continue use Ctrl+Break or Ctrl+^ to terminate =========================================================== =========================================================== 2GB gray plastic flash drive, started from flash drive ==u3twoway.bat== REM copy copiedsite from c: drive then to c: drive cls cd \ Pause must not be the c: drive xcopy \copiedsite\*.* c:\copiedsite\*.* /s /d /h /y /c /L pause check results before continuing with real copy xcopy \copiedsite\*.* c:\copiedsite\*.* /s /d /h /y /c pause check results before continuing xcopy c:\copiedsite\*.* \copiedsite\*.* /s /d /h /y /c pause Check results before ending bat list, then safe remove ------------------------------------------------------------ ==refresh_Copiedsite.bat== REM xcopy C:\Users\##USER##\AppData\Roaming\Mozilla\Firefox\profiles\*.* i:\Users\##USER##\AppData\Roaming\Mozilla\Firefox\profiles\*.* /s /d /h /y /c REM flash drive vol is 5924-DC83, (Darell c:) is 5496-36E9, (Darin z:)( is EA83-4F08 Vol z: pause list files that will be copied to the flash driv xcopy C:\copiedsite\*.* \copiedsite\*.* /s /d /h /y /c /L pause ready to refresh thumb drive from c:\copiedsite\*.* and shared152 (\\Darin)(Z:) xcopy C:\copiedsite\*.* \copiedsite\*.* /s /d /h /y /c xcopy C:\bk1\shared1521\*.* \shared1521\*.* /s /d /h /y pause done ------------------------------------------------- ==refresh_ff_profile.bat== REM flash drive vol is 5924-DC83, (Darell c:) is 5496-36E9, (Darin z:)( is EA83-4F08 Vol z: REM the flash drive F: should be 5924-DC83 vol f: pause ready to refresh thumb drive ff-profile c: must be darell xcopy c:\Users\##USER##\AppData\Roaming\Mozilla\Firefox\profiles\s185jyll.Firefox-Three\*.* F:\Users\##USER##\AppData\Roaming\Mozilla\Firefox\profiles\s185jyll.Firefox-Three\*.* /s /d /h /y /c pause check results, done, you may want to safely remove if this is the last batch file ---------------------------------------------------------- =========================================================== =========================================================== 1GB leather flashdrive ==refresh_bk1_TwoWay.bat== started from flash drive pause ready to refresh thumb drive from c:\bk1\*.* xcopy c:\bk1\*.* \bk1\*.* /s /d /h /y /c pause ready to refresh c:\bk1\*.* from thumb drive xcopy \bk1\*.* c:\bk1\*.* /s /d /h /y /c pause Check the results you may Safely Remove the thumb drive when finished ----------------------------------------------------------------------- =========================================================== =========================================================== website refresh: part 1 external HD receives from Darell Darell_E627_to_acomdata (folder) ==Darell_E627_to_acomdata.bat== vol h: pause Verify that drive e: is ACCOMDATA xcopy c:\copiedsite\dmcritchie\*.* h:\copiedsite\dmcritchie\*.* /S /D xcopy c:\bk1\*.* h:\bk1\*.* /S /D Pause please check results =========================================================== =========================================================== help xcopy -or- xcopy /? /S copy subdirectories (recursively) /D copy or replace with newer files (date timestamp) /H copy hidden files /Y supresses prompting to confirm overwriting existing files /C continues copying even if errors /L test, displays files that would be copied /Q quiet mode, does not display files being copied help dir -or- dir /? /s displays files in specified directory and all subdirectories. =========================================================== =========================================================== Examples with Exclude list ==exclusions.txt .dbx \_vti_cnf \_vti \AVG7\ \Grisoft\ \AVG_Free\ \tmp\ \temp\ \temporary\ \temporary internet files\ \cache\ ==get_batlist.bat REM get main directories originally backed up from marco to acomdata xcopy i:\bk1\*.* c:\bk1\*.* /s /d /h /y /exclude:exclusions.txt xcopy i:\camera\*.* c:\camera\*.* /s /d /h /y /exclude:exclusions.txt xcopy i:\copiedsite\*.* c:\copiedsite\*.* /s /d /h /y /exclude:exclusions.txt REM-REM xcopy i:\data\*.* c:\data\*.* /s /d /h /y /exclude:exclusions.txt xcopy i:\"scansoft documents"\*.* c:\"scansoft documents"\*.* /s /d /h /y /exclude:exclusions.txt REM-REM xcopy i:\"program files"\*.* c:\"program files"\*.* /s /d /h /y /exclude:exclusions.txt REM-REM i:\download_win2000\*.* c:\download_win2000\*.* /s /d /h /y /exclude:exclusions.txt echo FINISHED get_batlist, don't forget to shutdown external drive pause Safefly Remove externarl hard drive ======================================================= ======================================================= should backup entire c:\users\*.* /s /d -exclude:exclusions.txt xcopy c:\users\*.* i:\users\*.* /s /d /h -exclude:exclusions.txt The following is just a backup of Firefox profiles and takes about 6 hours to backup a few profiles such a backup would include Filefox profiles application data c:\users\##user##\AppData\Roaming\Mozilla\Firefox\Profiles\ c:\users\##user##\AppData\Roaming\Mozilla\Firefox\profiles.ini ======================================================= =======================================================