• kewko@sh.itjust.works
    46·
    3 months ago

    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.

    • Lupus@feddit.org
      29·
      3 months ago

      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.

        • criticon@lemmy.ca
          2·
          3 months ago

          I don’t trust windows enough, I always input both parameters

    • aeiou_ckr@lemmy.world
      1·
      3 months ago

      Ah nice. I have only used it with -t 0. I’m glad to have learn something today.