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.UserHome

Queries path to user’s home folder.

Component Version macOS Windows Linux Server iOS SDK
Folders 7.3 ✅ Yes ✅ Yes ✅ Yes ❌ No ✅ Yes
MBS( "Folders.UserHome" )

Parameters

none

Result

Returns path or error.

Description

Queries path to user’s home folder.

Examples

Query user folder path:

MBS("Folders.UserHome")

Find Dropbox folder:

Set Variable [$HomeFolder; Value:MBS( "Folders.UserHome" )]
Set Variable [$DropboxFolder; Value:MBS( "Path.AddPathComponent"; $HomeFolder; "DropBox" )]

See also

This function is free to use.

Created 14th July 2017, last changed 4th June 2023


Folders.UserFonts - Folders.UserMusic

💬 Ask a question or report a problem