There are number of steps to achieve about creating shortcut to eject the CD/DVD disk, but the best of best step is to employ the NirCmd function from the outstanding Nirsoft. It has a lot of extra capability than just expel the CD ROM drive.

Create a Shortcut to Eject the CD/DVD Drive

Right clicking by mouse on the desktop screen or somewhere else and select New - Shortcut.

Name:  1.png
Views: 223
Size:  13.8 KB

In the location box, put the full path to the nircmd.exe file that you downloaded, and append the “cdrom open” command to the end of it, adjusting the drive letter to
match your disc drive:

“C:\path\to\nircmd.exe” cdrom open D:

Note the location of the quotes. If you are utilzing a pathway with spaces in between, you require to craete sure the quotes are only around the path to the accomplishable.

Name:  2.png
Views: 266
Size:  13.0 KB

Place the shortcut a significant name, like Eject CD or somewhat like that, and you will have a new symbol (read below on how to utilize the CD ROM symbol as shown)

Name:  3.png
Views: 523
Size:  8.5 KB

You can shift the symbol to anywhere you want. Double clicking on it will immediately expel the drive.

Create a Shortcut to Close the CD/DVD Drive

You can chase the similar correct orders as above, but in its place of “cdrom open” just replace with “cdrom close”.

Assign a Hotkey to the Shortcut

We can allocate a hotkey to the shortcut by right clicking by mouse on the icon and selecting Properties. On the Shortcut button you will view a place to allocate the Shortcut key:

Name:  4.jpg
Views: 533
Size:  14.8 KB

Put in the shortcut key and shut down the dialog box. As long as the hotkey is on your desktop screen you should not have to reboot anything for the shortcut to work. Also you will be able to shift the shortcut to another folder, for occurrence your quick launch bar.

Assign an Icon to the Shortcut

If you clack on the Change Icon tab in the properties window, you can give the shortcut a more meaningful symbol, maybe the DVD one you see following.

Name:  5.jpg
Views: 491
Size:  15.9 KB

You will be able to select any symbol on the system that you want, of course.