Last Updated on
Scheduling window for shutdown after certain time
type shutdown -s -t 60 [Note: time in second i.e, for 1 minute =60]
Now your computer will be shutdown automatically after 1 minute
Scheduling window for restart after certain time
type shutdown -r -t 60
Now your computer will be restart automatically after 1 minute
to cancel the shutdown or restart process
if you want to create .exe app for shutdown, restart or abort command then proceed the following process
right click on desktop
click on new
create a shortcut
now write a command that you wish to do.
Now you can see .exe app which will shutdown your command after some time.