Reference number: CH001051 Aborting a batch file, command or other program stuck in a loop.
Question:
Aborting a batch file, command or other program stuck in a loop.
Answer:
While working on your computer you may encounter a situation where a program or batch file you're working on becomes stuck in a loop, and/or a command or program you run on your computer becomes stuck in a loop. There are several different methods from aborting these loops as listed below. CTRL + C One of the most universal methods of aborting a batch file, command, or other program while it's running is by pressing and holding CTRL + C. CTRL + Pause/Break Similar to CTRL + C, pressing CTRL + the Pause/Break key will abort almost all batch files, commands, scripts, or other programs. Close Window If after trying the above two suggestions you're still unable to abort and the program is running in a window mode, click the X to close out of the Window.
ALT + CTRL + DEL Finally, if you're still unable to abort the batch file, command, script, or other program press ALT + CTRL + DEL keys at the same time to open the task manager and highlight the program you wish to end and click the End Process button.
Additional information:
|