B4J Question How to get user document folder

moore_it

Well-Known Member
Licensed User
Yes c:\users\documents\ ecc ...

if i don't know the user how i do to get the path ?

Thanks
 

stevel05

Expert
Licensed User
GetSystemProperty("user.home","NF") will get the users home directory.
 

stevel05

Expert
Licensed User
It's a default reply for the GetSystemSetting call in case the provided attribute is not valid. You could pass an empty string if you prefer.

GetSystemProperty("user.home","")
 
Top