The disable command statement disables a command. The command will appear disabled any place it appears, such as a menu or toolbar.
disable command command_name {, command_name}
• command_name – The name of the command to be disabled.
When a command is disabled, it cannot be executed by the user through the menus, toolbars or any shortcut key defined for the command. It also cannot be run through scripts with the run command statement.