@echo off
title MINECRAFT
color 4
goto :index
:index
cls
echo =====================
echo ===== MINECRAFT =====
echo =====================
echo
echo 1. Play Minecraft
echo 2. Copy the saved games to the USB
echo 3. Copy the saved games from the USB to the HDD
echo 4. Delete saved games from the HDD
echo 5. Copy the saved games to the USB and delete them from HDD
echo 6. Instructions
echo 7. Exit
set /p oper=What do you want to do?(1-7):
if %oper%==1 goto :play
if %oper%==2 goto :copy
if %oper%==3 goto :copyusb
if %oper%==4 goto :delete
if %oper%==5 goto :copydel
if %oper%==6 goto :instr
if %oper%==7 goto :exit
:play
cls
set /p usb=USB Unit:
java -jar %usb%:\Minecraft\MinecraftSP.jar
goto :salir
:copy
cls
set /p usb=USB Unit:
mkdir %usb%:\Minecraft.Minecraft
xcopy /S %appdata%.Minecraft %usb%:\Minecraft.Minecraft
echo All data Saved (Press Enter)
pause > nul
goto :index
:copyusb
cls
set /p usb=USB Unit:
mkdir %appdata%.Minecraft
xcopy /S %usb%:\Minecraft.Minecraft %appdata%.Minecraft
echo All data Saved (Press Enter)
pause > nul
goto :index
:copydel
cls
set /p usb=USB Unit:
mkdir %usb%:\Minecraft.Minecraft
xcopy /S %usb%:\Minecraft.Minecraft %appdata%.Minecraft
rmdir /S %appdata%.Minecraft
echo Finished (Press Enter)
pause > nul
goto :index
:delete
cls
rmdir /S %appdata%.Minecraft
echo Files removed (Press Enter)
pause > nul
goto :index
:instr
cls
echo ================
echo = INSTRUCTIONS =
echo ================
echo *************************************************************
echo * You have to put this file (minecraft-win-play.bat) into a *
echo * folder called Minecraft into the root folder of your *
echo * memory stick. Example: *
echo * F:\Minecraft *
echo * *
echo * All data of the game will be copied into a folder called *
echo * .Minecraft that this program will create. *
echo * *
echo * Contact: [email protected] *
echo *************************************************************
echo (Press Enter)
pause > nul
goto :index
:exit
exit