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