I would like to create a shutdown and restart shortcut, I've googled and different methods come up so I'm a little lost as to which one to use. Basically what I want is for the laptop to shutdown/restart normally as if it would by me going to 'start, turn off computer'
For shutdown would it be 'shutdown.exe -s'? Or would I have to put a timer '-t 30' for example? At the moment my laptop will shutdown sometimes as quickly as 5-10 seconds so is the timer necessary or is just a way to abort the shutdown/restart?
TIA![]()
-
Carrot Muncher Notebook Evangelist
-
shutdown: C:\Windows\System32\shutdown.exe -s -t 00 -f
restart: C:\Windows\System32\shutdown.exe -r -t 0
If you use a timer then a shutdown dialog thing will come up and count down however long you put, then it will initialize the shutdown process. I think you can only cancel the process if you have a timer, but I'm not sure of the command to cancel the shutdown. -
shutdown -a is to abort the shutdown.
-
cheers ... -
jackluo923 Notebook Virtuoso
you can also remote shutdown by using -i in the command if you know someone's ip address
e.g. shutdown -i
Then select the options you want -
-
Carrot Muncher Notebook Evangelist
Thanks lads, most helpful.
I've found the only thing shutdown -a has been useful for is when a friend had a virus years ago that would pop up with a 1 minute shutdown box. -
If you set the shutdown to have a timer that shutdown box is what'll come up.
-
-
Carrot Muncher Notebook Evangelist
blaster, yer that rings a bell could have been that one.
-
Carrot Muncher Notebook Evangelist
bah, I can't use the shutdown/restart command for the rainmeter config im making, nothing happens.
Shutdown & Restart shortcuts?
Discussion in 'Windows OS and Software' started by Carrot Muncher, Mar 15, 2009.