Problem:
While running the batch file, it goes into infinite loop
Code:
shutdown -s -t 050
Output:
Ran the batch file
Output when i run in normal batch file:
Output when i run in admin batch file:
Question: Now I wonder why this happens, and want to know how to run shutdown command normally from batch file, if not like this ?
You called the batch file shutdown
Use a name that is not a system command or internal command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With