As the title says, the typical shutdown /s /t xx command doesn't work when I run it from a script. Instead of shutting down after x seconds, it only runs the shutdown part, and ignores the arguments. However, if I type it manually in a Command Prompt window, it executes correctly. I tried running other commands from a script like ipconfig /all and I have no problems. Is this a general Windows 10 problem or did I mess up with something on my computer?
P.S. I get the same results with Powershell as well.
shutdown /s /t xxfail too? – n0rd Aug 26 '15 at 23:49shutdown /s /t 20andpause. – Teo Alivanoglou Aug 27 '15 at 1:12shutdown– foxidrive Aug 27 '15 at 7:57