How to close all notepad instances in a single close operation

3

1

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

Tree

Posted 2010-09-24T16:28:25.040

Reputation: 357

Answers

7

You can create a shortcut with command

taskkill.exe /im notepad.exe

Casual Coder

Posted 2010-09-24T16:28:25.040

Reputation: 3 614

3

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.

ChrisF

Posted 2010-09-24T16:28:25.040

Reputation: 39 650

1In Windows XP you can Ctrl-click to select multiple items on the taskbar as well. – heavyd – 2010-09-24T17:05:51.173

2

If you would like to prevent the prompting:

taskkill.exe /F /im notepad.exe

Etay Gudai

Posted 2010-09-24T16:28:25.040

Reputation: 121

-1

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

Arindam Chowdhury

Posted 2010-09-24T16:28:25.040

Reputation: 1

Either this answer is not clear or it isn't intented for this question. – RogUE – 2015-06-16T13:35:07.547