Skip to content

Instantly share code, notes, and snippets.

@AwesomeTech10

AwesomeTech10/mwba.cmd

Last active Dec 23, 2017
Embed
What would you like to do?
Minecraft World Backup Assistant for Windows (UNOFFICAL)
@ECHO OFF
cls
title Minecraft World Backup Assistant for Windows
echo ####################################
echo # #
echo # Minecraft World Backup Assistant #
echo # Windows Edition #
echo # By AwesomeTech10 #
echo # #
echo ####################################
echo.
echo.
echo Welcome to the Minecraft World Backup Assistant!
echo This tool will backup all your Minecraft worlds to a certain location
echo !WARNING! This tool is highly experimental! Use at your own risk!
SET /P confirm="Ready to start? (yes/no): "
ECHO.
IF NOT "%confirm%"=="yes" (
ECHO Aborting!
GOTO eof
)
cls
echo What would you like to do?
echo MAKE A BACKUP | RESTORE MINECRAFT WORLDS (unfinished)
echo Great! Just hang on while we do what we need to!
echo.
echo.
echo Moving to Minecraft folder...
cd %APPDATA%/.minecraft
SET /P smove="Enter location to backup worlds to: "
ECHO.
echo.
echo Moving Minecraft Worlds to folder...
copy saves %smove%
echo.
echo.
echo Checking if backup working...
IF EXIST %smove% (
GOTO success
)
:error
SET /P ManualFile=BackupMCWorlds.txt
echo !ERROR! The tool did not manage to backup Minecraft worlds.
echo !ERROR! Please try again, or view the file %ManualFile% to back them up manually.
GOTO makefile
:success
echo Tool Completed successfully!
echo Press any key to exit...
PAUSE > NUL
POPD
EXIT %1
:makefile
echo Manual Instructions for Backing Up MC Worlds > %ManualFile%
echo ============================================ >> %ManualFile%
echo Step 1. Navigate to your Application Data Folder: %AppData% >> %ManualFile%
echo You can do this with the Run window, Win->R, or File Explorer >> %ManualFile%
echo Step 2. Double Click the .minecraft folder to enter the folder >> %ManualFile%
echo Step 3. Copy out the saves folder to a different location >> %ManualFile%
echo This will have backed up your Minecraft worlds. >> %ManualFile%
echo >> %ManualFile%
echo =============================================== >> %ManualFile%
echo THIS IS AN AUTOGENERATED FILE BY THE >> %ManualFile%
echo Minecraft World Backup Assistant >> %ManualFile%
echo Windows Edition >> %ManualFile%
echo MADE BY AwesomeTech10 >> %ManualFile%
@AwesomeTech10

This comment has been minimized.

Copy link
Owner Author

@AwesomeTech10 AwesomeTech10 commented Dec 23, 2017

Hope you enjoy it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.