azha@lemm.ee to linuxmemes@lemmy.worldEnglish · 15 days agoLinux For Lifelemm.eeimagemessage-square76linkfedilinkarrow-up145arrow-down13
arrow-up142arrow-down1imageLinux For Lifelemm.eeazha@lemm.ee to linuxmemes@lemmy.worldEnglish · 15 days agomessage-square76linkfedilink
minus-squarekewko@sh.itjust.workslinkfedilinkarrow-up0·edit-215 days agoStraight from the doc /t <xxx> Sets the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied.
minus-squareLupus@feddit.orglinkfedilinkarrow-up1·15 days agoSooo when you use the prompt Shutdown.exe -r -t 00 You would need the -f since we defined the timeout period as 0. Because: If the timeout period is greater than 0, the /f parameter is implied.
Straight from the doc
/t <xxx> Sets the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied.
Sooo when you use the prompt
You would need the -f since we defined the timeout period as 0. Because: