Saturday 9 April 2011

*Shutdown your PC using .BAT file

 How to use batch file to shut down your computer
  Open Notepad and create a batch file. Save it as .bat formate.




cd/
shutdown -s -t xxxx

where "-s" is for shutdown, "-t" is the time & "x"  is the time in seconds after which the computer shuts down. 
As soon as someone clicks on this .bat file, these below popup’s will be displayed.




 or,Other options that you can use

Schedule The Task:-
  1. Navigate to:- Control Panel --> Scheduled Tasks --> Add Scheduled Task
 

    2. In the second screen, navigate to the location of the file.



      3. We’ll set this in the Advanced Properties.



         4. Set the time and date you want it to run.




         5. In the next screen, enter  the user name and the password.




          6.  Hit Finish and you’re done!!!





Note:- This article is written to teach you the method to troubleshoot your computer yourself, if someone uses this technique and creates problem in your computer.

No comments:

Post a Comment