Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. @echo off
  2. @echo Welcome to Firefox and Thunderbird Automated Backup!
  3. CALL "D:ScriptsFirefoxBackup.bat"
  4. CALL "D:ScriptsThunderbirdBackup.bat"
  5.  
  6. @echo off
  7. @echo Firefox backup will begin shortly!
  8.  
  9. echo.
  10. @echo Deleting old Firefox backup file(s)...
  11. @echo off
  12. DEL /F "D:Mozilla Products BackupsFirefox*.pcv"
  13. TIMEOUT /T 2 /NOBREAK
  14.  
  15. echo.
  16. @echo off
  17. @echo Firefox is quitting...
  18. TIMEOUT /T 2 /NOBREAK
  19.  
  20. @echo off
  21. @echo off tasklist /nh /fi "imagename eq firefox.exe" | find /i "firefox.exe" >nul && ( taskkill /f /im firefox.exe /T )
  22. TIMEOUT /T 3 /NOBREAK
  23.  
  24. echo.
  25. @echo Firefox backup is in progress!
  26. START "" "C:Program Files (x86)MozBackupMozBackup.exe" "D:ScriptsDefault.firefoxprofile"
  27. TIMEOUT /T 15 /NOBREAK
  28.  
  29. echo.
  30. @echo Firefox backup successful!
  31. echo.
  32.  
  33. @echo Firefox has re-launched.
  34. echo.
  35. START "" "C:Program Files (x86)Mozilla Firefoxfirefox.exe"
  36.  
  37. START "" "C:Program FilesMozBackupMozBackup.exe" "D:ScriptsDefault.firefoxprofile"
  38. TIMEOUT /T 15 /NOBREAK
  39.  
  40. START /W "" "C:Program Files (x86)MozBackupMozBackup.exe" "D:ScriptsDefault.firefoxprofile"
  41. START /W /B "" "C:Program Files (x86)Mozilla Firefoxfirefox.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement