I am trying to loop shutdown so the user does not shutdown/restart the computer during the install process, then I need it to stop the shutdown loop after the CMD/BAT is done doing what I want it to do. @echo off :loop shutdown -a ping 127.0.0.1 -n 00 >nul goto :loop +++++++++ Then all my other CMD's after that +++++++++ Just need some help!!