acollegestudent

A blog by Albert about everything!

&
 

Sep 30 2008

Computer Prank

Published by nucklearknight at 6:30 pm under How To Edit This

Ok so I though up this little computer prank that you can play on windows users. Sorry Mac people. I made a video on how to do this a while back but people found it to be confusing. I think it will be a little easier to explain here.

  1. Open Notepad: Start>All Programs>Accessories>Notepad
  2. Paste or type the following into notepad:
    @echo off
    :Flag
    echo Haha you got hacked > c:\users\albert\desktop\1.txt
    rename c:\users\albert\desktop\1.txt %random%.txt
    goto :Flag
  3. What’s going to happen is the command prompt will open up and will generate a text file named “1″ containing the text “Haha you got hacked” on the desktop. Then it will rename the file with a random number. It will do this incredibly fast, so fast even that it will almost immediately start to encounter errors because it runs across duplicate numbers :o
  4. You can replace “Haha you got hacked” with whatever message you want it to say inside the text files however they will all say the same thing.
  5. LocationThe line “c:\users\albert\desktop\1.txt” will need to be edited by you. The easiest way to do this is to right click on a file on the desktop and then select “Properties”. From there look for “Location” Hilight and copy+paste that in place of “C:\users\albert\desktop” but leave the “\1.txt” there. So it may look like this:
    echo Haha you got hacked > c:\users\Loginname\desktop\1.txt
    OR for most XP users it may look like this:
    echo Haha you got hacked > c:\documents and settings\loginname\desktop\1.txt
  6. Make sure you have the same location on lines both 3 and 4
  7. ONCE YOUR DONE EDITING IT CLICK ON FILE>SAVE AS>NAMEOFFILE.BAT
    You must save the file you created in notepad with the extension .bat or this will not work.
  8. For an added bit of fun create this on your friends computer and then leave it going while hes goine or paste a copy of it into the startup folder in the start menu.Bat
  9. The resulting file should looks something relatively similar to this:

If you have any questions please ask!

Possibly-related Articles:                                        (auto-generated)

Trackback URI | Comments RSS

Leave a Reply