Cool Hack to Open & Close CD/DVD Drive

Tuesday, August 17, 2010

 Lets Play a prank on our friends computer.

Open notepad type the below code or simply copy it.Now save it as prank.vbs.
     
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


Double click to see your friend's emotion.
-----------------------
Now all u have to do to stop it is by opening taskmanager find wscript.exe and click on endprocess.

0 comments: