Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Folders.UserTemporary

Queries temporary folder.

Component Version macOS Windows Linux Server iOS SDK
Folders 6.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Folders.UserTemporary" )

Parameters

none

Result

Returns path or error.

Description

Queries temporary folder.
This is a native path. You can use Path.NativePathToFileMakerPath if you need to use path in a script step.

On Mac Folders.UserTemporary is in the user's home folder while the system wide temporary folder is in /var/folders and can be queried with Folders.SystemTemporary.

Examples

Get path for temp PDF file:

Set Variable [$temppath; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserTemporary" ); "temp.pdf")]

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 23th April 2016, last changed 4th June 2023


Folders.UserPreferences - Folders.UserTrash