Write a Virus in Notepad

For those who aren't tech-savvy, computer viruses are feared and poorly-understood. Though these digital nuisances can seem like the work of highly-skilled computer experts, in reality, it's possible for even the least-experienced computer users to create a simple virus with nothing more than a few text commands in Notepad. To get started writing your own virus, see Step 1 below.

Steps

  1. Open Notepad.
  2. Type the following:
    • @echo off
    •  :start
  3. Start notepad.
  4. Go to start.
  5. Save the file as anything.bat
  6. Double click the created file to crash your PC.

Tips

  • You can put it in the startup folder to crash the computer whenever it starts.
  • It can only be stopped by shutting down the PC or if you use Task Manager and very fast.

Related Articles