Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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++ )

share|improve this question

3 Answers 3

up vote 5 down vote accepted

You can create a shortcut with command

taskkill.exe /im notepad.exe
share|improve this answer

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.

share|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

If you would like to prevent the prompting:

taskkill.exe /F /im notepad.exe
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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