Hacking Windows Using Batch
Batch File
Batch File is a file written in simple text editor like notepad.It has a file extension .bat.It consists of series of command that interacts with our operating system to execute the action.
How To Create A Batch File
Batch File is easy to create. Just open Notepad in Windows .Type the Batch code and save it with the extension .bat.
Batch Code That Causes AutoShutdown
Batch File
Batch File is a file written in simple text editor like notepad.It has a file extension .bat.It consists of series of command that interacts with our operating system to execute the action.
How To Create A Batch File
Batch File is easy to create. Just open Notepad in Windows .Type the Batch code and save it with the extension .bat.
Batch Code That Causes AutoShutdown
- Open the Notepad .
- Type the follwing in it shutodwn -s-f-t (specify the amount of time that in seconds );
- Eg.:- shutodwn -s-f-t 120
- Save the file with he extension .bat.
- Now doubleclick on batch file that you saved.
- Boom the computer will shutdown in 2 seconds since you have specified 120 in code(it is calculated in seconds so 2 sec)