Instructions cover OS X Leopard and later.

Menu and command names may differ depending on your OS X or macOS version.

TheEjectmenu works forperipheraland built-in optical drives.

Go to Folder command in Mac Finder

To add theEjectmenu to the menu bar, complete the following steps:

OpenFinder.

From theGomenu, selectGo to Folder.

In theGo to the folderbox, throw in/System/Library/CoreServices/Menu Extras.

Go to the folder text box in macOS Catalina

Folder names in the Library are case sensitive.

In theMenu Extrasfolder, double-clickEject.menu.

Select theEject menuicon to display all the optical drives attached to the Mac.

The Menu Extras Finder folder in macOS Catalina

AnOpenorClosecommand appears, depending on each drive’s current state.