Guest User

Jax1

a guest
Aug 15th, 2011
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2. xcopy /e /c /h /i /v /r /y /q New1 C:\Users\Bstockler\Desktop\minecraftserverbackup\%date:~6,4%-%date:~3,2%-%date:~0,2%D\
  3. xcopy /e /c /h /i /v /r /y /q plugins C:\Users\Bstockler\Desktop\minecraftserverbackup\%date:~6,4%-%date:~3,2%-%date:~0,2%D\plugins\
  4. SET hour=%time:~0,2%
  5. IF "%hour:~0,1%" == " " SET hour=0%hour:~1,1%
  6. xcopy /e /c /h /i /v /r /y /q C:\Users\Bstockler\Desktop\minecraftserverbackup\%date:~6,4%-%date:~3,2%-%date:~0,2%D C:\Users\Bstockler\Desktop\minecraftserverbackup\%date:~6,4%-%date:~3,2%-%date:~0,2%-%hour%H\
  7. forfiles -p "C:\Users\Bstockler\Desktop\minecraftserverbackup" -m "*H" -d -2 -c "cmd /c rmdir /s /q @path"
  8. forfiles -p "C:\Users\Bstockler\Desktop\minecraftserverbackup" -m "*D" -d -14 -c "cmd /c rmdir /s /q @path"
RAW Paste Data