2

Here's my right-click context menu:

enter image description here

I would like to know if I could just arrange them, with all the red line ones altogether with the others to be separated.

DavidPostill
  • 162,382
kayush
  • 21

1 Answers1

0

Yes, you can sort them by manipulating the registry keys. Keep in mind that some keys can't be renamed (cmd, Powershell, WSL etc.).

  1. Open regedit and navigate to Computer\HKEY_CLASSES_ROOT\Directory\Background\shell.
  2. Prepend 01-, 02- and so on in front of every key (folder icon).
  3. Check the context menu after every change. Changes are applied instantly.

Before and after image: context menu before and after sorting
"Open with Code" and "Open PowerShell window here" are swapped

If you need to edit more context menus, then you can find more information here.

Vylix
  • 1,935