Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: variables
- set backupInternalDrive=G:\Automated Backups\Games\WoW\UI
- set backupExternalDrive=K:\Automated Backups\Games\WoW\UI
- set backupcmd=xcopy /s /c /d /e /h /i /r /y /Q
- ::=== Internal Drive Backups ===::
- :: Wow UI Backuos ::
- echo ### Backing up WoW Interface Folder to %backupInternalDrive% ...
- if exist "%backupInternalDrive%\Interface" @RD /S /Q "%backupInternalDrive%\Interface" & echo ## Deleting old %backupInternalDrive%\Interface
- %backupcmd% "C:\Program Files (x86)\World of Warcraft\Interface" "%backupInternalDrive%\Interface"
- echo ### Backing up WoW WTF Folder to %backupInternalDrive% ...
- if exist "%backupInternalDrive%\WTF" @RD /S /Q "%backupInternalDrive%\WTF" & echo ## Deleting old %backupInternalDrive%\WTF
- %backupcmd% "C:\Program Files (x86)\World of Warcraft\WTF" "%backupInternalDrive%\WTF"
- ::=== External Drive Backups ===::
- :: Wow UI Backuos ::
- if exist "K:" echo External HDD Detected & echo ### Backing up WoW Interface Folder to %backupExternalDrive% ...
- if exist "%backupExternalDrive%\Interface" @RD /S /Q "%backupExternalDrive%\Interface" & echo ## Deleting old %backupExternalDrive%\Interface
- if exist "K:" %backupcmd% "C:\Program Files (x86)\World of Warcraft\Interface" "%backupExternalDrive%\Interface"
- if exist "K:" echo ### Backing up WoW WTF Folder to %backupExternalDrive% ..
- if exist "%backupExternalDrive%\WTF" @RD /S /Q "%backupExternalDrive%\WTF" & echo ## Deleting old %backupExternalDrive%\WTF
- if exist "K:" %backupcmd% "C:\Program Files (x86)\World of Warcraft\WTF" "%backupExternalDrive%\WTF"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement