I have fairly few space on C:\, but D:\ is not an issue, so I decided to move MC to D:\, or so I thought. Even if I specify the location as "D:\.minecraft", it still uses "%appdata%\.minecraft" to store such things as "servers.dat", "launcher_profiles.json", "assets", "libraries", and, most importantly, "versions". This means that every time I download a new MC version, it clutters my precious C:\ space as opposed to D:\. Is there any way of using only D:\ and 0 bytes of C:\?
By configuring a profile you can change the profile save data to be where ever you want.
To have the launcher do that for it's data you have to use a batch file.
Create a text file called minecraft.bat put the following in it:
set APPDATA=%cd%
minecraft.exe
PAUSE
Put both your launcher (minecraft.exe) and this bat file on your D: drive in the directory you want minecraft to use.
Doubleclick on minecraft.bat to launch (NOT minecraft.exe).
All your launcher data will go in a directory .minecraft in that same place.
Only problem is that I have somehow managed to associate .bat with something and now I have to win+r, cmd, D:, minecraft.bat every time in order to actually run it. Tried several things on that but couldn't find anything. Would you happen to by chance have a possible fix for this as well? If not then that's fine.
Most likely problem is that you have hidden file extensions and your file is actually called "minecraft.bat.txt" so when you click it an editor opens up.
Renaming the file properly should fix it.
Most likely problem is that you have hidden file extensions and your file is actually called "minecraft.bat.txt" so when you click it an editor opens up.
Renaming the file properly should fix it.
well, guess again. and to hint you a bit more, read again. as i said, i associated .bat with something. there isnt really an obvious way to undo that, not on win 8.1 anyway
I don't see any way (in Windows 7) to change the association of a bat file, that's why I said most probably. What application starts when you double click the bat file?
To have the launcher do that for it's data you have to use a batch file.
Create a text file called minecraft.bat put the following in it:
Put both your launcher (minecraft.exe) and this bat file on your D: drive in the directory you want minecraft to use.
Doubleclick on minecraft.bat to launch (NOT minecraft.exe).
All your launcher data will go in a directory .minecraft in that same place.
Only problem is that I have somehow managed to associate .bat with something and now I have to win+r, cmd, D:, minecraft.bat every time in order to actually run it. Tried several things on that but couldn't find anything. Would you happen to by chance have a possible fix for this as well?
Again, thank you very much!
Renaming the file properly should fix it.
well, guess again. and to hint you a bit more, read again. as i said, i associated .bat with something. there isnt really an obvious way to undo that, not on win 8.1 anyway
Here's a place that offers little registry modification snippets to put extensions back to the default. http://www.eightforums.com/tutorials/8486-default-file-associations-restore-windows-8-a.html
You'd want to download the snippet for bat.