5

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

4 Answers 4

8

You can create a shortcut with command

taskkill.exe /im notepad.exe
1
  • /F switch can be added to avoid the save prompt and just kill all processes.
    – Jaywalker
    Aug 6, 2020 at 8:36
6

If you would like to prevent the prompting:

taskkill.exe /F /im notepad.exe
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.

1
  • 1
    In Windows XP you can Ctrl-click to select multiple items on the taskbar as well.
    – heavyd
    Sep 24, 2010 at 17:05
-1

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

1
  • Either this answer is not clear or it isn't intented for this question.
    – RogUE
    Jun 16, 2015 at 13:35

You must log in to answer this question.

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