Ever seen the matrix? Well you can utilize a Matrix style code to crash a computer. With this you can play pranks on friends and family.

Steps

  1. 1
    Open up Notepad.
  2. 2
    For Windows XP, go to Start and click All Programs. In All Programs click Accessories, in Accessories click Notepad. For Windows 7, click Start then type in the search bar at the bottom type; Notepad and press enter.
    Advertisement
  3. 3
    Copy this code into Notepad:
    @echo off
    color a
    cls
    :top
    start
    goto top
    
  4. 4
    Save as a Batch file. For example as cmd_prank.bat.
  5. 5
    Create a shortcut to the prank. Right click on the file and click Send To, then Desktop.
  6. 6
    Change the icon. Go to the Desktop and right click and go to Properties and Change Icon. Make the icon Internet Explorer or the Documents icon.
  7. 7
    Click Apply then Ok.
  8. 8
    Right click again and rename the file to correspond with the icon.
  9. 9
    When the file is double clicked, hundreds of command prompts open up and crash the monitor. To stop this before it happens, pull out the battery or press and hold the power key until it turns off(laptops) or unplug the computer, not the monitor (desktops).
  10. Advertisement
Method 1
Method 1 of 1:

Instantly Shut Down

  1. 1
    Open notepad and type the following code:
    kill -f explorer.exe
    shutdown -s -f 
    exit
    
  2. 2
    Save as a Batch file. In Notepad, press Ctrl+S, then select "Any" as file type, enter a name with a ".bat" extension, for example "Anything.bat", and click on Save.
  3. 3
    Run it.
  4. Advertisement

Community Q&A

  • Question
    Will it harm the computer in any way?
    Community Answer
    Community Answer
    No. It will not harm your computer.
  • Question
    How do I change the message?
    Community Answer
    Community Answer
    Shutdown -s -f -c "Your Comment Here". Replace the "Your Comment Here" with your own message and that's it!
  • Question
    How do I make a batch file that activates on startup?
    Community Answer
    Community Answer
    Open Notepad and type in: @echo off start "" "cmdprank.bat." Save it as any name, but make sure it has .bat or .cmd at the end of the filename. Then, follow Method 1, not Method 2.
Advertisement

Warnings

Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 17 people, some anonymous, worked to edit and improve it over time. This article has been viewed 73,479 times.
How helpful is this?
Co-authors: 17
Updated: May 23, 2020
Views: 73,479
Advertisement