The DCommandBarAll command is recorded when the user chooses Toolbar Dump All from the Advanced Macro menu. The contents of the visible toolbars will be saved to a file.
DCommandBarAll file filename
• filename - The name and path of the file to which the toolbar contents is being written.