![eject-cd-dvd-drive-vbs-script eject-cd-dvd-drive-vbs-script](http://lh3.ggpht.com/_DDqbEuQE5HE/TYiTBZh9rGI/AAAAAAAAAhg/zSF9HRk4ins/eject-cd-dvd-drive-vbs-script_thumb%5B6%5D.jpg?imgmax=800)
Step #1: Open up your notepad and copy paste the following code.
Step #2: Now name it as you wish with .vbs extection EX: openup.vbsSet 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
That’s it your done, to activate it just double click the file you just created. If you wish stop it open task manager by pressing ctrl+alt+del > click on process tab > find the process wscript.exe > highlight it and click End process
No comments:
Post a Comment