How to eject CD from laptop using command prompt

Ramicoo91

Commendable
Jun 15, 2016
6
0
1,520
Hello,

I have a CD inside a friend's laptop but the problem is that his laptop windows was broken and needs to format and his CD rom doesn't have an eject button, but never less we can open the command prompt when booting. So is there someway to eject the CD from the cmd?

Thanks
 

GeRgY

Admirable
Moderator
Hello,

Just write "eject (name c:/d: or whatever it is)".
You can also open it with needle :)

laptop2.jpg