Get(DocumentsPath)
Purpose 
Returns the path to the Documents folder for the current user.
Format 
Get(DocumentsPath)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 8.0
Description 
In Windows, the path format is /Drive:/Users/UserName/Documents/.
In OS X, the path format is /DriveName/Users/username/Documents/.
When running on FileMaker Server, Get(DocumentsPath) returns the location of the Documents folder, which is in the same folder as the server's Backups, Databases, and Scripts folders. The Documents folder is used as a shared location that scripts from different sessions or other processes on the machine can use to import or export files. For more information, see FileMaker Server Help.
Notes
 •
 •
Examples 
For FileMaker Pro, for a user named John Smith, returns:
/C:/Users/John Smith/Documents/ in Windows.
/Macintosh HD/Users/johnsmith/Documents/ in OS X
For FileMaker Server, returns:
/C:/Program Files/FileMaker/FileMaker Server/Data/Documents in Windows Vista.
/Macintosh HD/Library/FileMaker Server/Data/Documents in OS X
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Get(DocumentsPathListing) function