This question already has an answer here:

Due me testing out various mods, I've created a cloned .minecraft folder called ".minecraft_modtesting" .

In my normal MC folder I've got a batch file with

start /high javaw -Xmx2048M -Xms1024M -Djava.library.path=bin/natives -cp bin/minecraft.jar;bin/jinput.jar;bin/lwjgl.jar;bin/lwjgl_util.jar net.minecraft.client.Minecraft "name" "password"

However, I can't use this in ".minecraft_modtesting" because it starts the minecraft.jar from the ".minecraft" directory.

How can I change that please?

marked as duplicate by Ullallulloo, SaintWacko, Resorath, Shadur, Frank Feb 14 '13 at 0:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Just to clarify, you copied the .bat to your .minecraft_modtesting folder, ran it from there, and it didn't work? Because as far as I can tell, it should... – Schism Feb 13 '13 at 22:48
  • It did work, but it didn't start the minecraft.jar from .minecraft_modtesting but from .minecraft . – Grumpy ol' Bear Feb 13 '13 at 23:29
  • 1
    @Yves It won't work because Minecraft doesn't use the current folder for storage, it uses a particular location that's built-in to the game. It can be changed, but not by just starting it in a different folder. – SevenSidedDie Feb 14 '13 at 3:36
  • @SevenSidedDie Yeah, I knew it used %APPDATA%, but I thought that since the batch file specifies the relative location bin/minecraft.jar as part of the classpath, it'd start from there; guess I was wrong, haha. – Schism Feb 14 '13 at 3:44

Browse other questions tagged or ask your own question.