I need to open and then after a few seconds, close the CD drive, with VBS. All I know now, is only to eject the drive with this code
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
colCDROMs.Item(i).Eject
End If
a question this simple may seem dumb, but forgive me I'm not a programmer.