Files.ApplicationPathWithBundleIdentifier
-----------------------------------------

Get the file path for the application with the given identifier.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [16.1](newinversion161.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |

MBS( "Files.ApplicationPathWithBundleIdentifier"; BundleIdentifier { ; All } ) 

**MBS**( **"Files.ApplicationPathWithBundleIdentifier"** /\* Get the file path for the application with the given identifier. \*/  
**$BundleIdentifier**; /\* The bundle identifier to find. e.g. "com.apple.finder" \*/   
**$All**) /\* Optional; Pass 1 to get a list with all found apps. e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| BundleIdentifier | The bundle identifier to find. | "com.apple.finder" |  |
| All | Pass 1 to get a list with all found apps. | 1 | Optional |

### Result

Returns OK or error.

### Description

Get the file path for the application with the given identifier.  
This uses various heuristics in case multiple apps have the same bundle ID. This returns "" if no app has the bundle identifier.  
Pass 1 for second parameter to get a list with all paths.  
  
This functions looks up the database from macOS and doesn't search the disk.  
### Examples

Find the path for Finder:

 MBS ( "Files.ApplicationPathWithBundleIdentifier"; "com.apple.finder" )  
<small>  
Example result: /System/Library/CoreServices/Finder.app</small>Find all copies of FileMaker:

 MBS ( "Files.ApplicationPathWithBundleIdentifier"; "com.filemaker.client.pro12"; 1 )  
<small>  
Example result:   
/Applications/FileMaker Pro.app  
/Applications/FileMaker Pro 21.0.app  
/Applications/FileMaker Pro 19.6.app  
/Applications/FileMaker Pro 17.app</small>Launch Calendar:

 Let ( \[  
 path = MBS ( "Files.ApplicationPathWithBundleIdentifier"; "com.apple.ical" );  
 r = MBS ( "[Files.Launch](FilesLaunch.md)"; path)   
\]; r )  
### See also

- [Files.Launch](FilesLaunch.md)

### Release notes

- **Version 16.1**
    - Added [Files.ApplicationPathWithBundleIdentifier](https://www.mbsplugins.eu/FilesApplicationPathWithBundleIdentifier.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 16.1 News](https://www.mbsplugins.de/archive/2026-03-31/MBS_FileMaker_Plugin_161_News/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 16.1 für Claris FileMaker](https://www.mbsplugins.de/archive/2026-03-17/Neues_MBS_Plugin_161_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 16.1 for Claris FileMaker - More than 7800 functions in one plugin](https://www.mbsplugins.de/archive/2026-03-17/MBS_FileMaker_Plugin_161_for_C/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 16.1pr4](https://www.mbsplugins.de/archive/2026-02-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th February 2026 , last changed 18th February 2026

  
[Files.AppPath](FilesAppPath.md) - [Files.AudioCoverArt](FilesAudioCoverArt.md)

[HTML Version](FilesApplicationPathWithBundleIdentifier.shtml)