How to add an icon for `cmd` context menu item in Windows File Explorer?

2023-04-28--02-50-33

Step 1

Run regedit and go to HKEY_CLASSES_ROOT\Directory\Background\shell\cmd.

Step 2

Add the «Icon» key:
2023-04-28--03-10-35]

Result

2023-04-28--03-11-47

superuser.com/a/1627228