Minecraft backups, .bat easy to use.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SlayerApocalypse666
    Banned
    • Aug 2006
    • 324

    #1

    Minecraft backups, .bat easy to use.

    I don't really want comments on this, i'm just sharing.

    I made this because i was tired dying all the time, this way i only press enter after i died to restore backups, and i only press enter to save em while i play whenever i want, wich is like every 30 seconds xD
    I know there is probably 5billion tools out there to do this a btr way but...well....just sharing.

    Important: Change the path according to your system.

    Copy the code in a file and change the extension to .bat

    Have fun.

    This is a .bat to make the backups.
    ---------------------------------------

    @echo off
    Title Save
    :Save
    cls
    echo This Script Save your minecraft game...press "Enter" to continue.
    cd C:\Users\SariSSD\AppData\Roaming\.minecraft\saves
    Pause
    xcopy /Y *.* "C:\Users\SariSSD\AppData\Roaming\.minecraft\Backup" /e /i
    Pause
    goto Save

    This is a .bat to restore the backups. (note, the restore close your games, restore the files and reopen the game)you have to press enter to reopen it.
    ---------------------------------------

    @echo off
    Title Restore
    :Restore
    cls
    echo This Script Restore your minecraft game...press "Enter" to continue.
    cd C:\Users\SariSSD\AppData\Roaming\.minecraft\Backup
    Pause
    Taskkill /im javaw.exe
    xcopy /Y *.* "C:\Users\SariSSD\AppData\Roaming\.minecraft\saves" /e /i
    Pause
    C:\Users\SariSSD\Desktop\Minecraft.exe
    Pause
    goto Restore
    Last edited by SlayerApocalypse666; 11-14-2012, 09:04 AM.
  • UserNameGoesHere
    FFR Veteran
    • May 2008
    • 1114

    #2
    Re: Minecraft backups, .bat easy to use.

    You do know you can just
    @echo off
    and you won't need to have all those @'s in there right?
    Originally posted by Crashfan3
    Man, what would we do without bored rednecks?

    Comment

    • SlayerApocalypse666
      Banned
      • Aug 2006
      • 324

      #3
      Re: Minecraft backups, .bat easy to use.

      Originally posted by UserNameGoesHere
      You do know you can just
      @echo off
      and you won't need to have all those @'s in there right?
      I didn't i didn't take time to check, and i tot that echo off would also remove the file from showing on the screen while they are copying thats why i didn't do an echo off, but i'll try and see the result. Thx.

      Edit: Tested and it works fine i'll fix the code.

      Comment

      Working...