1

Windows 10's default "Shutdown" option keeps the open apps available on the next startup. So I've been using a BAT file with the simple line shutdown -s -f -t 0.

How can I make my shutdown button to trigger this command? Or is it even possible?

oividiosCaeremos
  • 608
  • 1
  • 10
  • 30
  • 1
    In UWP, this is not the recommended practice. Applications should not interfere with system behavior. In addition, in Native UWP, you cannot use `Process` to run bat files, which is not safe. – Richard Zhang May 05 '20 at 02:22

0 Answers0