• @[email protected]
    link
    fedilink
    13 months ago

    If -t is specified -f is assumed and redundant, but also it will try to do graceful l, but with a patience of a cranky toddler

    • @[email protected]
      link
      fedilink
      83 months ago

      Not really. If -f (force) is removed windows will shutdown similar to pressing the shutdown button and will wait for your input regarding open programs. -f is needed to just just “do it” with no hesitation or response from the user.

      • @[email protected]
        link
        fedilink
        1
        edit-2
        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.

        • @[email protected]
          link
          fedilink
          93 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.