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

Pubblicato il: 05 settembre 2014
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Close multiple programs at once using a batch file (Batch files 5) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Guido's How-Tos 05 settembre 2014, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 34,759 volte e gli è piaciuto 207 spettatori. Buona visione!