This is a really cool prank which would eject your CD-DVD drives infinitely which means that even after shutting it, it opens automatically. Surprising isn’t it? A very simple trick and can be done by anybody.
All you got to do is follow these steps.
1. Open notepad.
2. Copy and paste the following VB script code in the notepad.(VB script or Visual Basic Scripting Edition works only in Internet Explorer)
——————————————————————————————-
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
All you got to do is follow these steps.
1. Open notepad.
2. Copy and paste the following VB script code in the notepad.(VB script or Visual Basic Scripting Edition works only in Internet Explorer)
——————————————————————————————-
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
———————————————————————————————-
3. Save this with any name you like but with an extension .vbs (For example cd.vbs)
4. After it is saved, go to the location it has been saved and double click it. (cd.vbs)
That’s how it goes, try shutting it, it would open again!!
Ok now for stopping this script.
Just open the task manager(ctrl+alt+del) and in processes look for wscript.exe.
Once you find this the job is done. Just select that and click on end process. And your back to normal again, thanks for reading, hope you enjoyed it.
3. Save this with any name you like but with an extension .vbs (For example cd.vbs)
4. After it is saved, go to the location it has been saved and double click it. (cd.vbs)
That’s how it goes, try shutting it, it would open again!!
Ok now for stopping this script.
Just open the task manager(ctrl+alt+del) and in processes look for wscript.exe.
Once you find this the job is done. Just select that and click on end process. And your back to normal again, thanks for reading, hope you enjoyed it.
No comments:
Post a Comment