Shutdown several services / application in batches with Taskkill
- I have a notebook with some internet's bandwidth-hungry applications installed, such as Dropbox, Evernote, TeamViewer, Google Drive, uTorrent, FDM, and so forth.
- I were greatly helped by that apps above and do not want to get rid of them from my notebook
- Sometimes I need to shut down applications above one by one, especially when I run out of battery or out of quota internet :-)
- And that's the suckest point.
First, you must know the names of the service / image name you want to turn off. It can be seen from the Task Manager> Processes
Second, the syntax we will use here are:
taskkill / f / im [image_name_or_service_name]
/f = forcely shutdown
/im = image name
For a sample, you can turn off the dropbox service by this command :
taskkill / f / im dropbox.exe
very simple isn't it ? Now open Notepad and write down following lines depend on what application that you want to shut down its service.
Third, Save the file on the Desktop with file names ending in *. Bat (example : taskkill.bat)
Fourth, and you're done. Whenever you want to stop those applications, simply double click on the batch file, and your unused apps will be shutdown immediately.
Batch scripting can be fun! Learn more at : http://commandwindows.com/batch.htm