Google+ Page Me On Google+
Open and Close CD-ROM

Open and Close CD-ROM

Posted by MKTechnical
open notepad
copy this code
paste in notepad




Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If

Save this file name is open & close CD-ROM.vbs

Thank You.

0 comments:

Post a Comment