Programmers Arena: 5 Pranks to play with your mates and their PC

Thursday, 24 May 2012

5 Pranks to play with your mates and their PC

1st:
shutdown -s -t 1925000 -c “System error: overloaded crap folders”

The statement under the quotes can be changed by you into anything you want and you can even change the time limit for the shutdown taking 1=1millisecond .




2nd:
A PC has some build-in audio files that are played when doing something. For example, when you start navigating you'll hear a "click" and when you disconnect a USB device you'll hear another sound. Change these sounds into something that you want!
First, search on the internet for the correct audio file (Example: Farts, Screams etc.). If the file is in MP3 format, convert them into WAV format. Save the WAV files to C:/WINDOWS/Media/.
Now go to Start > Settings > Control Panel and double click on "Sounds and Audio Devices". Go to the tab Sounds and look for the correct sound in the list that you want to change. Change it by selecting the event and clicking on Browse... Navigate and select your new WAV file and press OK to save. I would suggest you to change their startup sound with something like gunshots, explosions, farts, burps and you will find many more on the internet just google it.

3rd:

This one makes the CD/DVD drive open and close in specific intervals.This one is mostly preferred for desktops and not for laptops.
VBScript Code:

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

4th:

This one turns caps lock on and off repeatedly. Its a VBS Code:

Code:

Set PressCaps =wscript.CreateObject("WScript.Shell";)

do

wscript.sleep 50

PressCaps.sendkeys "{CAPSLOCK}"

loop

5th:

This is a BATCH file that swaps the mouse buttons.
Code:

@echo off

Rundll32 user32,SwapMouseButton

rundll32 keyboard,disable

For VBScripts, open notepad and save as {filename}.vbs and switch the filetype to "all files". For BATCH do the same thing except save it as {filename}.bat

Now you need not do anything just sit back on your seat and have fun watching your mates get irritated.


Home Programmers Arena
Copyright © Programmers Arena