Thursday, November 1, 2012

Endless notepad,Cd Drive pop out-Prank

Hello,

Today I am going to give you two nice prank. You can try it on your own or with friends.

1.Endless notepad
Open notepad copy paste following code and save it as notepad.bat 
@ECHO off
 :top
START %SystemRoot%\system32\notepad.exe
GOTO top


2.Endless pop out CD-Drive
Open notepad copy paste following code and save it as cd.bat
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 100
loop

Thats it!

No comments:

Post a Comment