Last active
June 19, 2020 17:18
-
-
Save trojanfoe/3d24a220f0f17c55563ecd1e08d4557c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Change this to where you want the files backed-up to... | |
REM (Always put a backslash at the end so xcopy knows you want to create a directory) | |
set dst="%USERPROFILE%\Backups\Minecraft Dungeons\" | |
set srcdir="%LOCALAPPDATA%\Packages\Microsoft.Lovika_8wekyb3d8bbwe\LocalCache\Local\Dungeons" | |
if exist %srcdir% goto find_subdir | |
set srcdir="%LOCALAPPDATA%\Dungeons" | |
if exist %srcdir% goto find_subdir | |
echo Could not find Minecraft Dungeons Save directory | |
goto exit | |
:find_subdir | |
for /F "tokens=*" %%F in ('dir /B %srcdir% ^| findstr /R /C:".*[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"') do set src=%%F | |
if not "%src%" == "" goto backup | |
echo Could not find Minecraft Dungeons Save sub-directory | |
goto exit | |
:backup | |
xcopy /S /Y %srcdir%\%src% %dst% | |
echo These files were saved from directory %srcdir%\%src% > %dst%\README.txt | |
:exit | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will backup your Minecraft Dungeons save files to the cloud (or whereever). See this reddit post.