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

Files.IsApplication

Checks whether the file path points to an application.

Component Version macOS Windows Linux Server iOS SDK
Files 13.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "Files.IsApplication"; Path )   More

Parameters

Parameter Description Example
Path Native path to the file or directory. "/System/Applications/Preview.app"

Result

Returns 1, 0 or error.

Description

Checks whether the file path points to an application.
A folder may be an application, if it has the .app file extension to the folder name and then

Examples

Check preview app:

MBS( "Files.IsApplication"; "/System/Applications/Preview.app" )

Example result: 1

Release notes

Blog Entries

This function checks for a license.

Created 28th October 2023, last changed 28th October 2023


Files.IdentifyData - Files.IsExcludedFromBackup

💬 Ask a question or report a problem