Get system path helps with getting the path for default folders on the system
uses System.IOUtils.TPath Methods
activity properties
begin var HomePath: string; HomePath := TPath.GetHomePath; end; |
resulting code
Default paths to get:
Alarm path / Shared alarm path
Camera path / Shared camera path
Downloads path / Shared downloads path
Documents path / Shared documents path
Movies path / Shared movies path
Picture path / Shared picture path
Ringtone path / Shared ringtone path
Some options have the possibility to get a shared path. This offers the choice between the path of the user, or the default path of the system