Default folders

In my app I need to define working folders which will be scanned for various text files that the user puts there. The user can define their own folders (multiple of them), and they will be loaded and scanned each time the app starts up.

This seems like it should be a common task, but I’ve never done it before, so I don’t know the best way. My current thought is to store the folder paths as strings and then put those strings inside a juce::PropertiesFile. I can then load them each time the app starts up. Is this the normal way, or is there some other tool for the job?

Another related question–my can host plugins, and I need to access the plugin folder in a very similar way. Is there a default plugins folder that the OS defines that I can hook into, or should I assume that the user will create their own?

Check out File::getSpecialLocation

https://docs.juce.com/master/classFile.html