I have reinstalled the Java Launcher onto my SSD, I and moved the .minecraft file as well. However, the launcher rebuilds the .minecraft file on my HDD because that is the location of the default directory.
How do I move the default directory to my SSD instead of my HDD.
I have searched for this answer on google and other forms, but all I could find are ether out of date forms, moving bedrock edition or moving just the Java launcher.
EDIT: The form " How can I change the location of the .minecraft directory in the 2.1 Launcher? " also does not move the directory, it simply uses a second .minecraft directory instead.