Makes inactive main menu items at the end of which contains the specified marker. To make the marker not visible in the menu, it can be made, for example, in the form of two spaces.
DisableMarkedMenuItems " "
will make inactive menu items set as follows:
MENUITEM "&Change attributes... ", $1F6 MENUITEM "=== Header === ", 0
The command may not work if the main menu of Total Commander has not yet been created at the time the command was launched. It is recommended to place the command near the end of the script, in case of problems you can additionally put a delay before.