Dreamweaver automatically adds any files that are inside the Configuration/Commands folder to the bottom of the Commands menu. To prevent a command from appearing in the Commands menu, insert the following comment on the first line of the file:

 <!-- MENU-LOCATION=NONE -->

When this line is present, Dreamweaver does not create a menu item for the file, and you must call dw.runCommand() to execute the command.