How to close all notepad instances in a single close operation

8,325

Solution 1

You can create a shortcut with command

taskkill.exe /im notepad.exe

Solution 2

If you would like to prevent the prompting:

taskkill.exe /F /im notepad.exe

Solution 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.

Share:
8,325

Related videos on Youtube

Tree
Author by

Tree

Updated on September 17, 2022

Comments

  • Tree
    Tree almost 2 years

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

  • heavyd
    heavyd almost 14 years
    In Windows XP you can Ctrl-click to select multiple items on the taskbar as well.
  • RogUE
    RogUE about 9 years
    Either this answer is not clear or it isn't intented for this question.
  • Jaywalker
    Jaywalker almost 4 years
    /F switch can be added to avoid the save prompt and just kill all processes.