mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 12:15:58 +03:00
[GH-ISSUE #123] [BUG] Missing PCC in context-menu for shortcuts (x.LNK) #121
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#121
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 @TedBax on GitHub (Jul 11, 2020).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/123
checked: Copy paths of shortcut (.lnk) files themselves
But after rightclick to an shortcut, there is not the menu-item 'Path Copy'.
Without unchecked LNK-option, there exist the menu-item 'Path Copy'.
A little suggestion please:
can you make a copy from the LNK-option in the global options to the options for a single Custom Command? Then it would possible to set the LNK-option for each Custom Command separately.
(sorry for real bad english)
@clechasseur commented on GitHub (Jul 11, 2020):
Just to be certain: when you select that option, the Path Copy Copy menu item actually moves in the contextual menu. Is it possible you just missed it? (Sorry if this is obvious, I'm just trying to eliminate easy answers)
Unfortunately, that's not possible. The technique to copy the path of .lnk files themselves is a little convoluted and must absolutely apply to the entire contextual menu extension. It is not possible to have it per-command.
Just in case that french is your main language: that's the case for me too, so if speaking french is easier for you, that works too. 😄
@TedBax commented on GitHub (Jul 15, 2020):
Thank you very much for your answer.
Just to be certain: when you select that option, the Path Copy Copy menu item actually moves in the contextual menu. Is it possible you just missed it?
No, there is definitly nowhere the Path Copy entry.
Perhaps only by me is the LNK-filetype on my Win7 wrong registered ?
Sorry, no french, I'm an old german :)
@clechasseur commented on GitHub (Jul 16, 2020):
Ok, let's try something else.
Open regedit.exe and then open the HKEY_CLASSES_ROOT node. Navigate to the
.lnkkey and check the(Default)value. What does it say?Then, navigate to the
lnkfile\shellex\ContextMenuHandlersnode. Is there a subkey namedPathCopyCopy? If so what is the(Default)value of that key?@TedBax commented on GitHub (Jul 18, 2020):
With your help, I was able to solve my problem.
Create Add.PathCopyCopy.to.LNK.reg:
; -------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\PathCopyCopy]
@="{82CB99A2-2F18-4D5D-9476-54347E3B6720}"
; -------
After executing Add.PathCopyCopy.to.LNK.reg, the problem was solved.
It looks like the problem only affected me (?)
Many thanks for your help.
@TedBax commented on GitHub (Jul 18, 2020):
With your help, I was able to solve my problem.
Create Add.PathCopyCopy.to.LNK.reg:
; -------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\PathCopyCopy]
@="{82CB99A2-2F18-4D5D-9476-54347E3B6720}"
; -------
After executing Add.PathCopyCopy.to.LNK.reg, the problem was solved.
It looks like the problem only affected me (?)
Many thanks for your help.
@clechasseur commented on GitHub (Jul 18, 2020):
Glad that I could help, although it's weird the key did not exist in the first place. The installer is supposed to create that.
Anyway since it's fixed I'll close this.