Tutorials/Custom minecraft directory

From Minecraft Wiki
Jump to: navigation, search

To play minecraft from a custom directory, you can use these simple steps.

Windows 10[edit]

  • Go to the folder where you installed Minecraft.
  • Shift right click in a blank space and press "Open Command Window Here."
  • Get the Directory Path of where you want to store the game.
  • In the Command Prompt window, type in: echo java -jar Minecraft.exe --workDir="DIR_PATH" > run.bat
  • Then replace "DIR_PATH" with the directory where you want the game to use.
  • In the folder, run the "run.bat" file.

Second Method[edit]

  • Right click the Minecraft shortcut on your desktop and select "Properties".
  • If you do not have a shortcut, navigate to the folder where you installed Minecraft, right click MinecraftLauncher.exe, and click "Create Shortcut".
  • There should be a line labeled Target. After the file path, add a space and type: --workDir DIR_PATH
  • Replace "DIR_PATH" with the directory you want the game to use.
  • Minecraft will now use that directory as long as you launch it from that shortcut.