Skip to main content

How to schedule an auto shutdown by command prompt


In many day to day activities, there are many occasions we need to set the computer to shutdown automatically. There are many software to achieve this simply. Wise Auto Shutdown is a best freeware to do this. But I'm going to tell a simple method to achieve this by command prompt without any additional software. 

1. Start command prompt
2. Type in command prompt as follows.

shutdown /s /t <time>

In this command time should be mentioned in seconds.


In the above example I used the value 3600 as time. That means computer turns off after 3600 seconds from now(1 hour from now).

Not only shutdown other power operations like log off and restart also can be done by this command. But those operations cannot be scheduled. 

Shutdown: shutdown /s .t time
Restart: shutdown /r
Log off: shutdown /l
Hibernate: shutdown /h

For more help on command shutdown type,

shutdown help

or

shutdown /?

Comments

Popular posts from this blog

Extend internal memory of any Android device (Root Needed)

Low internal memory is a very common problem between low end android devices. Today most of android devices have both more than enough processing power and RAM size. But the internal memory size is relatively low. Due to low internal memory, we can't install many apps and most of the times sync stops working. Two most popular solutions to low internal memory problem. Link2SD Drawback - Slow down the device vold.fstab method Risk of bricking the phone. Need the appropriate vold.fstab for the device. I'm going to tell you a different method. In this method the SD card is joined to the end of the internal memory. If the internal memory is not enough, then the SD card will be used instead of the internal memory.  I installed NFS Most Wanted and NFS No Limits on a Xpeia E3 Dual after extending the internal memory using this methods. (Xperia E3 Dual has a internal memory of 1.7 GB)

How to play Sinhala subtitles(or any other custom fonts) using MX Player on any Android device

Do you know that you can play sinhala subtitles on your android device using MX player even though the device doesn't support sinhala rendering. Just a simple procedure.

How to make a pen drive boot able by command prompt

This article is going to explain how to make a flash drive boot able without any software for installing windows. There are many third party tools to achieve this. But doing it by command prompt is very easy, faster and also much reliable. Keep in mind that for installing windows 7 or a higher version it's highly recommended to use at least a 8 GB pen drive.