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

Publié le: 05 septembre 2014
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Close multiple programs at once using a batch file (Batch files 5) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Guido's How-Tos 05 septembre 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 34,759 fois et il a aimé 207 téléspectateurs. Bon visionnage!