In 4D v16, a new Get 4D File command returns the file path to different 4D files. You can now easily retrieve the path for the following files:
- Backup configuration file
- Last backup file
- User structure settings file
- User data settings file
For example, to retrieve the Backup configuration file path, you use to write with 4D v15:
$textPath:=Get 4D folder(Database folder)+"Preferences"+Folder separator+"Backup"+Folder separator+"Backup.xml"
With 4D v16, you just need to write:
$textPath:=Get 4D file(Backup configuration file)
For more details, please take a look at the Get 4D file command documentation.