Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem