Files.AppPath
-------------

Returns the path to the main executable for this FileMaker solution.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [2.7](newinversion27.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Files.AppPath" ) ### Parameters

none

### Result

The application path.

### Description

Returns the path to the main executable for this FileMaker solution.   
So either the path to FileMaker application or path to your runtime solution.  
Use [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md) to convert to a FileMaker path if you plan to use "filemac:" on a built in FileMaker function.  
  
Returns on FileMaker Cloud (Linux) usually this path: "/opt/FileMaker/FileMaker Server/Database Server/bin/fmsased"  
### Examples

Shows app path:

 Show Custom Dialog \["App Path"; MBS ( "Files.AppPath" )\]  
### See also

- [Files.Launch](FilesLaunch.md)
- [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md)

### Example Databases

- [Files/Open Database](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Files/Open%20Database.shtml#1GroupButton84.0000000270.0000000109.0000000391.0000000LayoutObjectAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 2.7fc](https://www.mbsplugins.de/archive/2012-05-08/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin 2.7 Release notes](https://www.mbsplugins.de/archive/2012-05-08/MBS_Filemaker_Plugin_27_Releas/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.7pr1](https://www.mbsplugins.de/archive/2012-03-26/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 13th November 2019

  
[Files.AddedToDirectoryDate](FilesAddedToDirectoryDate.md) - [Files.ApplicationPathWithBundleIdentifier](FilesApplicationPathWithBundleIdentifier.md)

[HTML Version](FilesAppPath.shtml)