azha@lemm.ee to linuxmemes@lemmy.worldEnglish · 3 个月前Linux For Lifelemm.eeimagemessage-square169fedilinkarrow-up11.1Karrow-down1152
arrow-up1949arrow-down1imageLinux For Lifelemm.eeazha@lemm.ee to linuxmemes@lemmy.worldEnglish · 3 个月前message-square169fedilink
minus-squarekewko@sh.itjust.workslinkfedilinkarrow-up4arrow-down6·edit-23 个月前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.
minus-squareLupus@feddit.orglinkfedilinkarrow-up29·3 个月前Sooo 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.
minus-squarekewko@sh.itjust.workslinkfedilinkarrow-up3·3 个月前Yeah fair enough -f -s does the same thing as -t 0?
minus-squarecriticon@lemmy.calinkfedilinkarrow-up2·3 个月前I don’t trust windows enough, I always input both parameters
minus-squareaeiou_ckr@lemmy.worldlinkfedilinkarrow-up1·3 个月前Ah nice. I have only used it with -t 0. I’m glad to have learn something today.
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:
Yeah fair enough -f -s does the same thing as -t 0?
I don’t trust windows enough, I always input both parameters
Ah nice. I have only used it with -t 0. I’m glad to have learn something today.