TECH TIPS Headline Animator

Tuesday, November 23, 2010

A PRANK/FAKE VIRUS WITH NOTEPAD


This is a trick to create a fake virus with which you can trick your friends

Open notepad and type the following code in it

@echo off
color 04
title virus.......
echo A virus has been detected on your computer
pause
echo CONTATTING ANTIVIRUS
pause
echo Do you want to remove the virus?
pause
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
pause
echo ACTIVATING VIRUS
pause
:1
dir/s
goto


Save the file as anyname.bat without .bat extension it will not work.

NOTE:The code is a case-sensitive.

This is just a prank it will not harm ur PC just messages are displayed.



TRICK EXPLAINED


echo keyword displays messages on the screen.

title places the text on the title bar.

pause waits for the user to press any key from keyboard.

color changes the text color here 04 is for red colour.

dir/s is a DOS command that displays the files and folders of your computer.

Finally goto which is a keyword used with :1 which is a label forms a loop so that text are repeated.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More