Minecraft World Extractor

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
storm97
Posts: 7
Joined: 13 Feb 2012 17:33

Minecraft World Extractor

#1 Post by storm97 » 13 Feb 2012 17:43

hello, im trying to make a file to automaticly install minecraft worlds, here is the line of code i need help with...

xcopy /e J:\30975\Stuff\Apps\Minecraft\Worlldextractorinstaller\worlds\saves C:\Users\%userprofile%\AppData\Roaming\.minecraft

i always get asked if it's a directory or file, then an incorrect path but im pretty sure it's correct

just to let u know, saves folder consists of subfolders and files...

thanks for help...

Liviu
Expert
Posts: 470
Joined: 13 Jan 2012 21:24

Re: Minecraft World Extractor

#2 Post by Liviu » 13 Feb 2012 19:33

storm97 wrote:i always get asked if it's a directory or file, then an incorrect path but im pretty sure it's correct

That's easy to doublecheck, just try

dir J:\30975\Stuff\Apps\Minecraft\Worlldextractorinstaller\worlds\saves
dir C:\Users\%userprofile%\AppData\Roaming\.minecraft

at the cmd prompt, and if those (most likely) report errors, then get the paths right, first. In particular, check '%userprofile%' vs. '%username%', and maybe the 'Worlldextractorinstaller' spelling.

Liviu

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Minecraft World Extractor

#3 Post by foxidrive » 13 Feb 2012 22:04

storm97 wrote:hello, im trying to make a file to automaticly install minecraft worlds, here is the line of code i need help with...

xcopy /e J:\30975\Stuff\Apps\Minecraft\Worlldextractorinstaller\worlds\saves C:\Users\%userprofile%\AppData\Roaming\.minecraft

i always get asked if it's a directory or file, then an incorrect path but im pretty sure it's correct


Try this - the trailing slash should stop it asking if it is a file or folder. The double quotes will help if userprofile contains spaces etc.

xcopy /e "J:\30975\Stuff\Apps\Minecraft\Worlldextractorinstaller\worlds\saves" "C:\Users\%userprofile%\AppData\Roaming\.minecraft\"

storm97
Posts: 7
Joined: 13 Feb 2012 17:33

Re: Minecraft World Extractor

#4 Post by storm97 » 14 Feb 2012 19:49

iT'S ALIVE!!!! (a.k.a. it works, thanks... :D

Mister Fox
Posts: 7
Joined: 20 Feb 2012 08:14
Location: Behind you
Contact:

Re: Minecraft World Extractor

#5 Post by Mister Fox » 20 Feb 2012 09:46

storm97 wrote:iT'S ALIVE!!!! (a.k.a. it works, thanks... :D




Could you possibly put the file up for download?

I'm sure the frustrated minecraft players out there would love a tool like this!

storm97
Posts: 7
Joined: 13 Feb 2012 17:33

Re: Minecraft World Extractor

#6 Post by storm97 » 20 Feb 2012 15:22

maybe, it needs a little more work first, check back later

storm97
Posts: 7
Joined: 13 Feb 2012 17:33

Re: Minecraft World Extractor

#7 Post by storm97 » 27 Feb 2012 17:07

it's going to take longer than i thought, stupid teacher confiscated jump drive :(

Post Reply