App.GetProcessPath
------------------

Queries the path of the application.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [App](component_App.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "App.GetProcessPath" ) ### Parameters

none

### Result

Returns path or error.

### Description

Queries the path of the application.  
This value does not change by [App.SetProcessName](AppSetProcessName.md) as it queries the file path.  
### Examples

Get app folder path:

 MBS ( "[Path.RemoveLastPathComponent](PathRemoveLastPathComponent.md)"; MBS ( "App.GetProcessPath" ))  
### See also

- [App.GetProcessName](AppGetProcessName.md)
- [App.SetProcessName](AppSetProcessName.md)
- [Files.Launch](FilesLaunch.md)
- [Path.RemoveLastPathComponent](PathRemoveLastPathComponent.md)
- [URLScheme.SetDefaultHandler](URLSchemeSetDefaultHandler.md)

### Release notes

- **Version 7.5**
    - Added [App.GetProcessPath](http://www.mbsplugins.eu/AppGetProcessPath.shtml) and [App.GetProcessName](http://www.mbsplugins.eu/AppGetProcessName.shtml) for Linux.

### Blog Entries

- [MBS FileMaker Plugin, version 7.5pr2](https://www.mbsplugins.de/archive/2017-10-16/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [Restart FileMaker with same database](https://www.mbsplugins.de/archive/2017-04-21/Restart_FileMaker_with_same_da/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.5pr6](https://www.mbsplugins.de/archive/2013-11-15/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 16th October 2017

  
[App.GetProcessName](AppGetProcessName.md) - [App.MemoryUsed](AppMemoryUsed.md)

[HTML Version](AppGetProcessPath.shtml)