Returns the path to the preferences and default options folder for the current user.
Get(PreferencesPath)
None
text
FileMaker Pro 8.0
In Windows, the path format is /Drive:/Users/UserName/AppData/Local/.
In macOS, the path format is /DriveName/Users/UserName/Library/Preferences/.
•This function is supported only in FileMaker Pro Advanced, FileMaker Go, and runtime solutions. In other FileMaker products, it’s not supported and returns an empty string.
Returns /C:/Users/John Smith/AppData/Local/ for a user named John Smith in Windows.
Returns /Macintosh HD/Users/John Smith/Library/Preferences/ for a user named John Smith in macOS.
Each part of the path may vary from these examples, so don’t rely on the path to follow a particular pattern.