Close multiple programs at once using a batch file (Batch files 5)

Published: 05 September 2014
on channel: Guido's How-Tos
34,759
207

Batch files 5: Close multiple programs at once using a batch file

Batch commands:
"@echo off

taskkill /F /IM explorer.exe /IM winword.exe /IM excel.exe /IM chrome.exe /IM iexplore.exe

Start explorer.exe "

#batchfile #batch

Follow me on other media:
►Website: http://www.guidoshowtos.com
►Facebook:   / guidoshowtos  
►Twitter:   / guidoshowtos  

Music used:
Delay Rock Kevin MacLeod (incompetech.com)


Annotations:

Right-click the desktop → New → Text Document

Give your text document a name, and open it.

Insert the commands. For example commands see video description.

The taskill command tells your PC to kill a specified task.

Add /F if you want to force the taskkill; you won't get a change to save files openend in the program.

Type /IM in front of every program name you want to close to specify the program.(IMagename).

If you want to include windows explorer (explorer.exe), add "start explorer.exe" at the end of the file, as explorer.exe also includes the taskbar, menu, and desktop functionality.

Save and exit the file.

Change the file extension of the .txt file to .bat to make it into a batch file.


On this page of the site you can watch the video online Close multiple programs at once using a batch file (Batch files 5) with a duration of hours minute second in good quality, which was uploaded by the user Guido's How-Tos 05 September 2014, share the link with friends and acquaintances, this video has already been watched 34,759 times on youtube and it was liked by 207 viewers. Enjoy your viewing!