To create a virus using notepad you should know that notepad can be used as source file for batch file When we save notepad file as .bat or .cmd it becomes batch file.
Now you should know how to use command prompt. Such as here we are using commands for shutdown or restart.
Open command prompt and type in it shutdown. This will show you all shutdown parameters, some of which –s, –r and –a are for shutdown and restart respectively.
Try using –s parameter first in command prompt. Open cmd and type shutdown –s. This will give you warning start countdown of 30sec to save your work.
To stop this countdown type shutdown –a .
Open your notepad and simply type shutdown –r and save it as xyzname.bat now double clicking this file will restart your computer. To auto initiate it, paste it in the startup folder in start>all programs>Startup.
Now after pasting whenever computer is started again, it will start restarting continuously. To stop this this use shutdown –a in cmd and delete that file from startup.
Now you should know how to use command prompt. Such as here we are using commands for shutdown or restart.
Open command prompt and type in it shutdown. This will show you all shutdown parameters, some of which –s, –r and –a are for shutdown and restart respectively.
Try using –s parameter first in command prompt. Open cmd and type shutdown –s. This will give you warning start countdown of 30sec to save your work.
To stop this countdown type shutdown –a .
Open your notepad and simply type shutdown –r and save it as xyzname.bat now double clicking this file will restart your computer. To auto initiate it, paste it in the startup folder in start>all programs>Startup.
Now after pasting whenever computer is started again, it will start restarting continuously. To stop this this use shutdown –a in cmd and delete that file from startup.
No comments:
Post a Comment