Menubar.RemoveMenuCommand
-------------------------

Removes a menu entry.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menubar](component_Menubar.md) | [6.2](newinversion62.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Menubar.RemoveMenuCommand"; Path ) 

**MBS**( **"Menubar.RemoveMenuCommand";** /\* Removes a menu entry. \*/  
**$Path**) /\* The ID or path to the menu entry.  
Use [Menubar.ListMenuCommands](MenubarListMenuCommands.md) to find out the IDs and names.e.g. 49297 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Path | The ID or path to the menu entry.   Use [Menubar.ListMenuCommands](MenubarListMenuCommands.md) to find out the IDs and names. | 49297 |

### Result

Returns OK or error.

### Description

Removes a menu entry.  
FileMaker may restore menu later.  
### Examples

Remove tools menu:

 MBS ("Menubar.RemoveMenuCommand"; "Tools")  
### See also

- [Menubar.HasMenuCommand](MenubarHasMenuCommand.md)
- [Menubar.ListMenuCommands](MenubarListMenuCommands.md)
- [Menubar.RunMenuCommand](MenubarRunMenuCommand.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.2pr10](https://www.mbsplugins.de/archive/2016-05-20/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 14th May 2016 , last changed 14th May 2016

  
[Menubar.ListMenuCommands](MenubarListMenuCommands.md) - [Menubar.RunMenuCommand](MenubarRunMenuCommand.md)

[HTML Version](MenubarRemoveMenuCommand.shtml)