Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal EnableDelayedExpansion
- rem Make sure you change the directories below to where your character files will be
- rem the paths should both end with an \
- set target_Path="C:\Users\Owner\Documents\My Games\Final Fantasy XIV - A Realm Reborn\"
- set source_Path="C:\owncloud\ffxiv\chr\"
- set sea_String="%target_Path:~1,-2%\FFXIV_CHR*"
- echo Target Path: %target_Path%
- echo Source Path: %source_Path%
- echo Continue if everything looks correct here.
- pause
- dir %sea_String% /a-ld /b
- for /f %%f in ('dir %sea_String% /a-ld /b') do (
- set f_targ="%target_Path:~1,-2%\%%f"
- set f_src="%source_Path:~1,-1%\%%f"
- echo Junction %%f 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