3-tag:General-250px-related-5385949187566471317
Skip to main content

To automatically turn of your computer in a specified time using a batch file

You can now turn off or shutdown your computer at the time you want.First you need to do is create a batch file to shutdown your computer, open notepad and paste the following

C:\Windows\system32\shutdown -s -f -t 10
then save it as shutdown.bat , remember you can save any file name you want but the extension should be .bat
t here is timer which is set to 10 secs, you can edit that if you wish to,

then open task scheduler, to open task scheduler go to start and type in task scheduler in the search box, then once the task scheduler is open it looks like this
Then click on Create basic task ,the basic task window opens
Type in the name of the task you want to acitvate, like for ex- shutdown, for shutting down the computer, any filename can be given.


Then select when you want your task to be triggered, based on your needs.


Set the time of when the task must be triggered.


Click on start a program and click next.


Then browse for the shutdown.bat file


Then click on finish,you're done.......




Comments

  1. hmmm!, thnx it helped me a lot....thnk u for sharing your knowledge with us, btw nice blog...

    ReplyDelete
  2. awesome trick, loved it...post some more.....

    ReplyDelete

Post a Comment

Type in your comments here,we welcome your suggestions,complaints and feedback