<- Back to SMTPit Pro function list
SMTPit_File_GetPath
- Description
You can use the SMTPit_File_GetPath to retrieve a variety of paths including: Database, FileMaker, Root, System, Desktop, Preferences, Temporary, Applications, or Documents.
This function can be used on concert with other functions. For example you could use SMTPit_File_GetPath to get the user desktop path and then use SMTPit_File_Export to export a file in a container field.
- Return Type
- Text
- Format
- SMTPit_File_GetPath ( Type )
- Required Parameters
- Type
Which Path Type you need. Specify "Database", "FileMaker", "Root", "System", "Desktop", "Preferences", "Temporary", "Applications", or "Documents".
- Type
- Related Items
- SMTPit_File_Copy, SMTPit_File_Delete, SMTPit_File_Exists, SMTPit_File_Export, SMTPit_File_Move, SMTPit_File_Rename, SMTPit_File_SelectFileWithDialog, SMTPit_File_SelectFolderWithDialog, SMTPit_File_Size
- Examples
Example 1
Code:
SMTPit_File_GetPath("Database")Result:
Returns the path to the current database.Example 2
Code:
SMTPit_File_GetPath("Desktop")Result:
Returns the path to desktop.