हिंदी में देखें |

PC Tips

Close multiple programs by one Click



ClosemultipleprogramsbyoneClick


Contents :-



Step-by-Step Process


It's difficult and often discouraging to have to open Task Manager and kill the processes by hand. It's very useful to be able to close applications from the command line, and even more useful to keep a batch file for it.

We have already learned how to open multiple file by using a batch. The process

Steps:

1. Open Notepad.
2. Copy and paste the following into notepad:

@echo off
cls
TASKKILL /F /IM notepad.exe /IM mspaint.exe /IM calc.exe /IM excel.exe
pause


• This example kills every single occurance of notepad.exe.

2. The syntax is somewhat simple /F stands for force, /IM kills by the process name, and taskkill supports * wildcards.

3. echo off, cls, and pause are just to make the batch script neater.

4. Go to File, and Save As.

5. Where it says "Save as type:", select All Files, and at File Name, type "myUtilityKiller.bat".

• The name doesn't matter, only the .bat matters.

ClosemultipleprogramsbyoneClick2

6. Now double-click the .bat file, and all occurances of notepad.exe, mspaint.exe, calc.exe, excel.exe/whatever you have added will disappear.

ClosemultipleprogramsbyoneClick3

ClosemultipleprogramsbyoneClick4



Tips


• You can add "pause" onto a new line so that you can see the output.
• You can also use wildcards to specify process to kill such as :

TASKKILL /FI "IMAGENAME eq n*"

This will close all processes beginning with n.

• To Kill process running on different system use the following syntax

TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

Such as:

TASKKILL /S 192.168.0.14 /U administrator /P xyz /FI "IMAGENAME eq note*"

This will terminate all process matching the wildcard on system 192.168.0.14 [IP address of the system]

Warnings

• It closes the process, and closing the wrong process may cause system instability.



.....Previous     Same     Next.....

Tags- Close multiple programs by one Click | What is the shortcut to close all tabs? | How do I close all running programs on Windows 10? | What is the shortcut to close all windows? | How do you close multiple windows on a Mac? | How do I close all open tabs? | How do I remove tabs from my keyboard? | How do you close a window quickly? | How do I close all tabs? | How do I minimize all windows? | What is the shortcut key for clearing history? | How do I close a tab? | What does Alt +f4 do? | How do you minimize a window quickly? | How do you switch tabs using the keyboard? | What is the keyboard shortcut for Select All? | How do I close a window? | How do you close a tab without a mouse? | How do I change tabs in Chrome? | How do you close a window that won t close? | How do I switch screens using Windows with the keyboard? | How do you go back to previous page on keyboard? | What keys undo? | How do I minimize my screen? | What is the keyboard shortcut for back button? | How do you toggle between windows? | How do you go full screen on Chrome? | How do you lock computer with keyboard? | How do you close a frozen window? | How do I close tabs on Chromebook? | How do I create shortcuts on Google Chrome? | How do I close all windows at once? | How do you close all tabs with keyboard? | How do you tab backwards on a keyboard? | What is the shortcut to close all windows? | How do you close multiple windows on a Mac? | What does pressing the Windows key do on its own? | How do I close all open tabs? | How do I remove tabs from my keyboard? | How do you close a window quickly? | How do I close all tabs? | How do I minimize all windows? | What is the shortcut key for clearing history? | How do I close a tab? | What does Alt +f4 do? | How do you minimize a window quickly?



UpImage
Home|Indian Doctors|Indian Hospitals|Utility|Career|Electronics|Family|General|Health|PC Tips|Technology|About Us|About Admin|Feedback|Apply For Job Computer Courses|Login| Created by - Er. Sanjay Singh