|Hello, i am trying to make a one line batch file with the following line:|
shutdown /s /f /t 0
however, when i run the batch file, i get the repeating line (with @echo off):
Waiting for 10 seconds, press a key to continue ...
(after finishing it starts over)
but when i put the exact same command line into cmd.exe it runs fine and executes
can someone tell me why it isnt working in the batch format? (also i'd like people avoid testing the command if they can and have their computers shut down just in case it does work)
thanks for your help!