B4J Question Download folder

Mikelgiles

Active Member
Licensed User
Longtime User
Anyone know of a safe way to obtain the download folder name on a windows system. I thought file.dir????? might but no luck. For now I am just getting it from a hardwired global setting.

Is just using a ini ( text) file and a map the best way to replace the windows ini process?
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
With this line you will get the documents folder.

GetSystemProperty("user.home","")

Then, you may replace the last part of "documents" with "Downloads"

The INI file with a map is a very good idea, the other may be with a json file but to do it you still require a map.
 
Upvote 0
Top