Search code examples
shortcutsystem-shutdown

How to create shutdown shortcut?


I want to create shutdown shortcut which is shutdown my pc within 10 second.
what is syntax for that?


Solution

  • create a new shortcut and put this into the location

    %windir%\System32\shutdown.exe -s -f -t 10
    

    this will take 10 seconds to shutdown