I'm willing to save a file in the user's "My Documents" folder.
I tried getting the location like this :
System.getenv("USERPROFILE") + "\\My Documents\\"
Then, I realized this wouldn't work in a system where the language is set to another language, french for example.
Is there another way of getting the "My Documents" folder efficiently?