i have a little problem…
on win xp, if i write on commandline
shutdown -t 00 -r -f
the reboot works fine.
but if i paste it, as is, in a bat file…the prompt show me an infinite loop.
anyone can say me why?
thanks a lot for any suggestion 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What is the name of you batch file? I hope it’s not
shutdown.bat🙂If it is then I am afraid invoking
shutdown -t 00 -r -ffrom within the batch file will call your batch file again instead of calling shutdown.exe and this goes on ad infinitum (since shutdown.bat is in the current dir and shutdown.exe is probably in the c:\windows\system32 directory)