Alright, so english isn't your first language, so I am gunna try and ignore some of the failure to comunicate.
Anyways, there is a field inside of Minecraft that holds the root folder that Minecraft uses for all folders, you can use your Launcher to change that field.
I dont know which field it is off the top of my head, but its fairly straight forward if you take 10 mins to go research how the directory is obtained. If you are writing a launcher, you should have the skills to read the code and figure it out.