- Open Notepad and Write Following code:
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
2. Now Save this file as "Eject.vbs" . Run this file and it will start ejecting cd drive.
that's it and this is only for fun.............
No comments:
Post a Comment