mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 12:15:58 +03:00
[GH-ISSUE #188] [Question] How did you add to Explorer Context menu as user #185
Labels
No labels
bug
duplicate
enhancement
enhancement
enhancement
fixed
help wanted
help wanted
invalid
pull-request
question
waiting for input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pathcopycopy#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @blauertee on GitHub (Jan 21, 2025).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/188
Disclaimer:
Hey there this is not an issue with this software, i'm just asking for help here because people on github are nicer than on most other forums and you have obviously solved the problem I'm chewing on. If there was a discussion Tab on this Repo I'd ask there, feel free to close this if you don't have time for answering such requests.
Question:
How did you manage add the widows Context Menu Items to the Regestry? I found serveral tutorials on this but none have worked for me so far. And when viewing the Registry this is not what pathcopycopy does. So what are you doing there? :)
Thank's a lot in advance!
Jakob
@clechasseur commented on GitHub (Jan 23, 2025):
You know, I thought I had turned on discussions, but it looks like I didn't. I fixed that. Sorry for this :)
@clechasseur commented on GitHub (Jan 23, 2025):
As for how: most of the tutorials I find these days mention how you can add items to the context menu via the registry, but Path Copy Copy uses a much older trick: using a COM object. You need to implement a COM object that supports the
IContextMenuinterface (and most likeIShellExtInit), then register it in the proper place in the registry to it is loaded when contextual menu is displayed.Please note that this method won't allow you to display items in the Windows 11 contextual menu - that one has a new implementation. If you go the COM route, your contextual menus will only be displayed in the extended contextual menu.