Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

How to get computer to shut down on a timer?

May 2, 2009 9:18AM PDT

I use my vista PC to play music, often using Last Fm. It would be nice to go to sleep listening to music knowing computer would shut down in a set amount of time. Is this possible?
Nick

Discussion is locked

- Collapse -
batch file
May 2, 2009 9:28AM PDT

create a simple batch file to run when you go to sleep.

Example:

@echo off
shutdown -s -t 1500


This will shutdown the computer in 1500 seconds. You can adjust the 1500 to what ever you would like. Use the -f function to force quit applications.

Let us know if you need more assistance.

- Collapse -
Batchfile or just manually
May 3, 2009 5:01AM PDT

You can do as tylersmiller said but instead you may decide to manually type it in the command prompt, your choice.

- Collapse -
i wanna more from you
May 3, 2009 7:57AM PDT

thank you for you nice idea and i would like you to sent me more idea

- Collapse -
Another idea.
May 3, 2009 8:03AM PDT