how to shutdown pc in .bat file code example Example: shutdown batch file windows 10 shutdown /s /f /t 0