Notepad Trick to Open and close CD/DVD Drive

by satheeshkumar 2012-07-14 18:35:41

Notepad Trick to Open and close CD/DVD Drive,

1.Open Notepad.

2.Copy the code given below onto the notepad file:
Set oWMP = CreateObject(“WMPlayer.OCX.7?)
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


3.Save it as “Anything.VBS” extension.

4.You should also check out Windows 7 Keyboard Shortcuts which has all the keyboard tricks that you can think of.

Tagged in:

637
like
0
dislike
0
mail
flag

You must LOGIN to add comments