Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. :: variables
  3. set backupInternalDrive=G:\Automated Backups\Games\WoW\UI
  4. set backupExternalDrive=K:\Automated Backups\Games\WoW\UI
  5. set backupcmd=xcopy /s /c /d /e /h /i /r /y /Q
  6.  
  7. ::=== Internal Drive Backups ===::
  8.     :: Wow UI Backuos ::
  9.    
  10. echo ### Backing up WoW Interface Folder to %backupInternalDrive% ...
  11.  
  12. if exist "%backupInternalDrive%\Interface" @RD /S /Q "%backupInternalDrive%\Interface" & echo ## Deleting old %backupInternalDrive%\Interface
  13. %backupcmd% "C:\Program Files (x86)\World of Warcraft\Interface" "%backupInternalDrive%\Interface"
  14.  
  15. echo ### Backing up WoW WTF Folder to %backupInternalDrive% ...
  16.  
  17. if exist "%backupInternalDrive%\WTF" @RD /S /Q "%backupInternalDrive%\WTF" & echo ## Deleting old %backupInternalDrive%\WTF
  18. %backupcmd% "C:\Program Files (x86)\World of Warcraft\WTF" "%backupInternalDrive%\WTF"
  19.  
  20. ::=== External Drive Backups ===::
  21.     :: Wow UI Backuos ::
  22.    
  23. if exist "K:" echo External HDD Detected & echo ### Backing up WoW Interface Folder to %backupExternalDrive% ...
  24. if exist "%backupExternalDrive%\Interface" @RD /S /Q "%backupExternalDrive%\Interface" & echo ## Deleting old %backupExternalDrive%\Interface
  25. if exist "K:" %backupcmd% "C:\Program Files (x86)\World of Warcraft\Interface" "%backupExternalDrive%\Interface"
  26.  
  27. if exist "K:" echo ### Backing up WoW WTF Folder to %backupExternalDrive% ..
  28. if exist "%backupExternalDrive%\WTF" @RD /S /Q "%backupExternalDrive%\WTF" & echo ## Deleting old %backupExternalDrive%\WTF
  29. if exist "K:" %backupcmd% "C:\Program Files (x86)\World of Warcraft\WTF" "%backupExternalDrive%\WTF"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement