Reference > Functions reference > Get functions > Get(PreferencesPath)
 
Get(PreferencesPath)
Purpose 
Returns the path to the preferences and default options folder for the current user.
Format 
Get(PreferencesPath)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 8.0
Description 
In Windows, the path format is /Drive:/Users/UserName/AppData/Local/.
In OS X, the path format is /DriveName/Users/UserName/Library/Preferences/.
Notes
In FileMaker WebDirect, this function is not supported and returns an empty string.
Examples 
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 OS X.
Each part of the path may vary from these examples, so don’t rely on the path to follow a particular pattern.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas