I use notepad and often open multiple instances of it. Is there a way to close all instances of it in a single click ?

Closing them one at a is a real pain.

( I do not like to use notepad++ )

link|improve this question

feedback

3 Answers

up vote 5 down vote accepted

You can create a shortcut with command

taskkill.exe /im notepad.exe
link|improve this answer
feedback

If you have the "Group similar task bar buttons" option (Start > Properties > Taskbar) checked, then you should be able to right click on the Notepad group in the taskbar and close all instances of the application.

link|improve this answer
1  
In Windows XP you can Ctrl-click to select multiple items on the taskbar as well. – heavyd Sep 24 '10 at 17:05
feedback

If you would like to prevent the prompting:

taskkill.exe /F /im notepad.exe
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.