How to Create a Fake Virus Batch File

2,342

12

1

Published

Introduction: How to Create a Fake Virus Batch File

Use this to trick your friends or family into believing your PC (or theirs) has been infected by a virus!

Step 1: Create a .txt File on Your Desktop

Right Click anywhere on your Desktop.

Drag your cursor over New.

Select Text Document (.txt)

Step 2: Type the Code Into the Text Document.

Copy the following code into the text document:

Code:

@echo off

title sysmgr.exe

color 2

echo Virus detected.

pause

echo Would you like to delete the virus?

pause

echo Yes (y) or No (n)

pause

echo Error.

pause

echo Error.

pause

:1

tree

pause

return 0;

Step 3: Change the Text Document Into a .bat (batch) File.

To do this you will need to enable file extensions. To do this, search "Show extensions" in the Start Menu of Windows 7/8.

Once activated, you will see the document as New Text Document.txt. Change the .txt to .bat. A menu will pop up saying the file may become unusable. Click Yes.

Step 4: Open the Batch File

When opened, the batch file will display whatever you put into the code.

For example:

@echo off

echo Hello

The batch file will display "Hello"

Enjoy!

Share

Recommendations

  • Woodworking Contest

    Woodworking Contest
  • Clocks Contest

    Clocks Contest
  • Planter Challenge

    Planter Challenge
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments

Cool, I made something like this.

If %you%==want to check it out (

goto

https://www.instructables.com/id/How-to-fake-hack-with-batch-files/

)

Fake hacking logo.jpgphoto.png