Create a Simple Virus
You can Create a simple Virus that won’t harm your computer majorly.
Follow the simple steps ahead:
- open a notepad.
- type “shutdown -s -t 60 -c “your msg” “
- save the file as shutdown.bat
- after saving the file, drag it to Start menu -> All Programs -> Startup
- Restart your computer and see the magic.
Let me explain how it works:
The command shutdown is used in cmd prompt. So we have saved the file in .bat format. .bat file stands for batch file. When batch file runs, the command prompt intercepts its commands. Shutdown is a command that shut down the system. Most of the commands have attributes as in the below command.
shutdown -s -t 60 -c “your msg”
-s is used for shut down without power off
-t is used to set the time to execute the shutdown command
-c is used to set any warning message to the user of system.
You can download the simple virus file from here.
This is not a real virus.