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 XP, the path format is /Drive:/Documents and Settings/UserName/Local Settings/Application Data/.
In Windows Vista and Windows 7, the path format is /Drive:/Users/UserName/AppData/Local/.
In Mac OS, the path format is /DriveName/Users/UserName/Library/Preferences/.
Note  For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at http://help.filemaker.com.
Examples 
Returns /C:/Users/John Smith/AppData/Local/ for a user named John Smith in Windows.
Returns /MacintoshHD/Users/John Smith/Library/Preferences/ for a user named John Smith in the Mac OS.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas