Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 7 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
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

Settings -> Preferences -> MISC. There find the option called "Remember current session for next launch" and uncheck it.

share|improve this answer
Either this answer is not clear or it isn't intented for this question. – RogUE Jun 16 '15 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .