I know there are many techniques available to restart computer. But in all the techniques requires a basic knowledge of programming. But in this technique you do not need to know whole programming language but you need just little programming knowledge. You can also create a program to restart windows automatically every start up using {C or C++} language. So remember friends, it is not a real virus and the main instance is not to make a virus but i want to teach you something in batch programming. So let's start.
What is batch programming?
Batch programming is the programming language offered by Microsoft windows operating system. Batch file can be created using any of text editors like word pad notepad etc. This programming language is deserves interpreted method means it executed line by line.
You can perform lots of operation using this programming language like deleting files of same type or different types, clear unwanted computer craps, creating logs and also create batch virus like restart window every time when it start.So first open Notepad and paste the below code:
cd..
shutdown /t 30 /r /c "Your computer detects a virus"
shutdown /t 30 /r /c "Your computer detects a virus"
Now save as it with .bat extension & run the file and that’s it.
You can see the message that "Your computer detects a Virus" and the computer will be shut down in 30 seconds and restart again.
Here
/t indicates time interval that can be changed.
/r indicates restart windows you can change it to /s to only shutdown windows.
/c indicates the message that you want to display.
ReplyDeleteWord Whizzle Search Answers