Search This Blog

Showing posts with label Eject your drives in and out infinitely. Show all posts
Showing posts with label Eject your drives in and out infinitely. Show all posts

Wednesday, January 14, 2009

Eject your drives in and out infinitely

Do the following:
** Go to Start >> Run
** Type Notepad and hit Enter
** Now in Notepad type:


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



** Go to File >> Save As...
** Type Eject.vbs and click Save