Search This Blog

Prank #001 - Have fun pranking your friends with this!

Jul 27, 2013
Prank #001 : Eject your Disk drive in and out indefinitely!
[works slightly different for laptops]


We will be using a VB script to execute this.

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 


How to use: 

  • Just Double Click the saved file  Eject.vbs 


How To Stop: 

  • Restarting the computer will stop this script, unless you have kept it in startup folder. 
  • Open Task Manager and in processes search for wscript.exe and click End Process
Enjoyed this post? Let us know. Please drop a comment.

 COMMENTS: 

No comments:

Post a Comment