How to change the Minecraft folder to another path

Release Time:2025-11-30

By default, Minecraft stores its data in C:\Users*\AppData\Roaming.minecraft, which can be difficult to find and takes up space on your C: drive. Today, let’s change that path to another folder for easier management. (This tutorial is for Windows users.)

Locate Your Minecraft Client

Suppose you want to manage everything under E:\minecraft.
Move your Minecraft client to this folder.
Then, create a new file named Minecraft.bat, right-click it, choose Edit, and paste in the following content:

@echo off
start "" minecraft.exe --workDir "E:\minecraft"
exit

Now, simply double-click Minecraft.bat to launch Minecraft.