Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo This tool will back up your FFXI user data.
- echo Please make sure you've edited the file to enter your FFXI user folder
- echo directory and the directory of the cloud storage.
- echo (For use with Google Drive, owncloud, etc)
- echo Tested with owncloud.
- echo If you haven't edited the file close now, otherwise continue.
- pause
- setlocal EnableDelayedExpansion
- rem make sure you change the directories below to reflect where your USER folder
- rem is located!
- rem FFXI USER folder location:
- set target_Path="C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI\USER"
- rem Cloud destination folder:
- set source_Path="C:\ownCloud\ffxi\USER"
- echo Target Path: %target_Path%
- echo Source Path: %source_Path%
- set f_targ="%target_Path:~1,-1%"
- set f_src="%source_Path:~1,-1%"
- echo Junction for %targ% from %src%
- xcopy "!f_targ:~1,-1!" "!f_src!\" /c /s /d /y /i
- rmdir /s /q !f_targ!
- mklink /j !f_targ! !f_src!
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement