If you’re having trouble with the location of your .minecraft folder, or, want to move it to a different drive, you will need to change the Minecraft working directory.
If you don’t have a shortcut to the Minecraft launcher on your desktop, open the Minecraft launcher folder, right click MinecraftLauncher.exe, choose Send to, then Desktop (create shortcut).
Go to your desktop, right-click the MinecraftLauncher.exe – Shortcut and click properties.
At the end of the Target field, add:
--workDir file-path. Replacing file-path with the path to your new location.
Click OK to save the changes.
If you need to access your .minecraft folder, you must go to the new location. Your old.minecraft folder in %AppData% will no longer work.
Still need help?
Make a new post on r/Minecrafthelp where one of us will guide you through the process.
Happy crafting folks!