Advertisement
waterlgndx

FFXI User Data backup

Sep 19th, 2017
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.92 KB | None | 0 0
  1. @echo off
  2. echo This tool will back up your FFXI user data.
  3. echo Please make sure you've edited the file to enter your FFXI user folder
  4. echo directory and the directory of the cloud storage.
  5. echo (For use with Google Drive, owncloud, etc)
  6. echo    Tested with owncloud.
  7. echo If you haven't edited the file close now, otherwise continue.
  8. pause
  9. setlocal EnableDelayedExpansion
  10. rem make sure you change the directories below to reflect where your USER folder
  11. rem is located!
  12. rem FFXI USER folder location:
  13. set target_Path="C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI\USER"
  14. rem Cloud destination folder:
  15. set source_Path="C:\ownCloud\ffxi\USER"
  16. echo Target Path: %target_Path%
  17. echo Source Path: %source_Path%
  18. set f_targ="%target_Path:~1,-1%"
  19. set f_src="%source_Path:~1,-1%"
  20. echo Junction for %targ% from %src%
  21. xcopy "!f_targ:~1,-1!" "!f_src!\" /c /s /d /y /i
  22. rmdir /s /q !f_targ!
  23. mklink /j !f_targ! !f_src!
  24. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement