-
-
Save ChuckMichael/8ea2c2dcdc93f8384839f2e2890a329e to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00 | |
; Edit with Notepad++ in Windows 11 contextmenu - by AveYo (https://gist.github.com/AveYo) | |
[-HKEY_CURRENT_USER\Software\Classes\*\shell\extract] | |
[HKEY_CURRENT_USER\Software\Classes\*\shell\extract] | |
"MuiVerb"="Edit with &Notepad++" | |
"Icon"="C:\\Program Files\\Notepad++\\notepad++.exe,0" | |
"MultiSelectModel"="Player" | |
"NeverDefault"="" | |
"AppliesTo"="NOT .zip" | |
[HKEY_CURRENT_USER\Software\Classes\*\shell\extract\command] | |
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%L\"" | |
[-HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\ANotepad++64] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\ANotepad++64] |
@AveYo OK. Now I see it clear. About the 7zip icon you used a wrong image. "\shell\ConnectNetworkDrive" was what you used on line 6 and that's why that icon appears in the context menu, it would have been better to use \shell\windowscompressedfileextract but I don't know where you got the icons either. Can you tell me where you got the icons from?
And about this Notepad++ gist, why doesn't it appear with the others in your gist repository? I don't see it in your list
The icon is automatic, you can't change it. On the legacy menu it shows the designated 7-zip one.
These are hijacked entries, meant as an example on how to add your own context menu entries without creating a freaking store app.
extract
verb is more useful for something else like the Notepad++ entry here. I originally shared it on mdl. Thanks to ChuckMichael it's on github as well, I see no issue with that.
@AveYo Well, I only was just curious to know where Windows 11 stores the icons used in the new context menu. 🤔
C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\FileExplorerExtensions\Assets\images\
Oh, thank you very much. I really needed that information, now I will be able to use some icons I need. Thanks again :)
It works, thanks.
C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\FileExplorerExtensions\Assets\images\
Hi,
Thanks for the Reg key. I just want to know if you found a solution for the icon.
There is a post on 11F about the assets that might be helpful:
https://www.elevenforum.com/t/win-11-ui-icon-font.3722/#post-170147
As I realized, MS use "Segoe Fluent Icon" and "Segoe MDL2 Assets" fonts for some part of Windows UI.
These two links might be helpful, too:
https://nilesoft.org/
https://github.com/M2Team/NanaZip/blob/main/NanaZipShellExtension/NanaZipShellExtension.cpp
And those show up just fine in 11 context menu as intended (obviously minus the icon because reasons).
Only needs 7-zip installed in default folder
C:\Program Files\7-Zip