System folders

Pierrou

Active Member
Joined
Jul 6, 2017
Hi,
I couldn't find any answer so here I am : is there a way to access system folders like "Documents" or "Program Files", on Windows at least?
Thanks!
 

Pierrou

Active Member
Joined
Jul 6, 2017
When trying something like Local pathdocs:String = GetEnv("%HOMEPATH%") I get pathdocs="" what am I doing wrong?
Thanks!
 

dawlane

Active Member
CX Code Contributor
Joined
Jun 21, 2017
Do you have similar tables for mac and linux?
Each Linux desktop environment has their own set, but you can find them with the Linux shell command printenv. The most common are found here.
Mas OS X also has this shell command, but the there are some Apple specific environment variables. For some reason Apple haven't published them, but a few are listed here.
 
Last edited:
Top Bottom