Are you downloading long files at night and worried who will turn off your PC when you slept? It should not give you headache let’s little hack into windows to turnoff your PC after desired time.
A Batch file
A batch file: this is a text file with extension (.bat), It contains a sequence of commands for computer operating system. A batch file is usually created for command sequences for which a user has a repeated need.
You can create a batch file using Notepad and choose Save as filename.bat where filename is the name of the file and .bat is the extension (make sure the file has an extension of (.bat) without brackets.
After you created your .bat file place this code in it
@echo off shutdown -s -t 1800
- Save the file (ctrl + s) , You can run the batch file program by click on the file and the computer will prompt a warning
The computer will shutdown 30 minutes (1800 seconds) after running the batch file.
To cancel a shutdown initiated by that batch file, you can go to Start -> Run and type:
Or you can put the code in separate batch file then run it to cancel a shutdown.
Hope this is simple and useful, before you download malicious software please ask us for solution