make aplaylist with the songs u want, go to sleep then when the songs are done you are asleep![]()
p.s leave comp on overnight then![]()
Write a batch file and set the task scheduler to execute said batch file at the desired time.
If you just wanted the whole comp to power down you could use the shutdown -f in the batch file this will shutdown the PC and force close all apps for example
Yeah, but he wants it to shut down after a certain time..
If you could use "shutdown -i 600" in a batch, that't be great. But you can't =o or.. "Shutdown /t:600 -s" o_o something along those lines.
(I'm sad, I didn't actually have to google the syntax)
Actually, come to think about it, doesn't shutdown -h work on windows?
Cos its not Linux
The closest thing on windows is -f which force closes apps in case you have issues with a running app not closing during a normal shutdown.
SHUTDOWN -s -t 600
does work on Windows tho?
Ah yesYes, I was just on about the h switch that u mentioned for the Linux shutdown command, there is no windows equal unlike -r, the closest to -h for windows is -f
is it possible to boot your comp at a certain time? coz my phone is dead and i need to be at work @ 12 not sure i can wake up without a clock
@ECHO OFF
shutdown.exe -i -s -t 10 -c "Sleeping timer closing down the PC"