• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

What command to open CD-ROM?

edro

Lifer
I wanna program a button my keyboard to open the CD-ROM drive (right click on CD-ROM, hit Eject). Is there an actual .exe that is executed when you do this? What command is it?

THanks,
Ed
 
Actually, are they different for CD-ROM Open, and CD-ROM Close?

I would like an executable that opens the cd-rom, and a separate one to close it.

THanks!
 
save the stuff after the ***** as a .vbs file and then run it, oh, move stuff away from the front of your cd trays first
this works on XP, older winders probably need certain active x controls or something or certain level of WMP

********

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If
 
Depending on the OS, you might have the ability to do it via DOS. I used to be able to do it in Win95 and Win98 because of installing the CD Rom drivers before installing the OS (instead of the OS handling it all on it's own like 2k or XP)
 
Back
Top