Sync dirs: Copy path of right/left to clipboard

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
oko
Senior Member
Senior Member
Posts: 201
Joined: 2007-05-03, 16:22 UTC

Sync dirs: Copy path of right/left to clipboard

Post by *oko »

In local menu of item in syncdirs list please add commands to copy its path to clipboard:
"Copy left path to clipboard (F5)"
"Copy right path to clipboard (Shift+F5)"
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Sync dirs: Copy path of right/left to clipboard

Post by *Horst.Epp »

There is the Left or Right Context menu entry (Alt Down and Alt Shift Down).
This gives you the full context menu entries which also contain "Copy as path" for me.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
oko
Senior Member
Senior Member
Posts: 201
Joined: 2007-05-03, 16:22 UTC

Re: Sync dirs: Copy path of right/left to clipboard

Post by *oko »

2Horst.Epp
In the Context menu there are e.g. edit, print, rename, delete, copy, properties... but not "copy as path" command. Maybe you have installed something specific.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Sync dirs: Copy path of right/left to clipboard

Post by *Horst.Epp »

oko wrote: 2023-11-18, 15:20 UTC 2Horst.Epp
In the Context menu there are e.g. edit, print, rename, delete, copy, properties... but not "copy as path" command. Maybe you have installed something specific.
Yes, this simple reg file does it

Code: Select all

Windows Registry Editor Version 5.00

;Show Copy as Path always in the right-click menu, without pressing SHIFT
;Ramesh Srinivasan, Winhelponline.com

[HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\windows.copyaspath]
@="Copy &as path"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"

Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
oko
Senior Member
Senior Member
Posts: 201
Joined: 2007-05-03, 16:22 UTC

Re: Sync dirs: Copy path of right/left to clipboard

Post by *oko »

2Horst.Epp
ok thanks, it is usefull meanwhile. But still the command in local tc menu would have advantages - one less click by mouse and option to use keyboard shortcut (e.g. F5) without local menu popup.
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sync dirs: Copy path of right/left to clipboard

Post by *petermad »

2oko
In the Context menu there are e.g. edit, print, rename, delete, copy, properties
"Copy" copies the filename including path - maybe you can use that and remove the filename manually.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6498
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Sync dirs: Copy path of right/left to clipboard

Post by *Horst.Epp »

2petermad
The request was exactly to copy the path.
Using the path without the file name doesn't make sense for using it outside of TC.
Also, the requestor said "it is useful meanwhile"
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
oko
Senior Member
Senior Member
Posts: 201
Joined: 2007-05-03, 16:22 UTC

Re: Sync dirs: Copy path of right/left to clipboard

Post by *oko »

2petermad
Not exactly. Copy copies "something" but not always pastes the path. No text pastes to notepad, but it pastes path to tc current directory header.
The command in local tc menu would have advantages - one less click by mouse and option to use keyboard shortcut (e.g. F5) without local menu popup, and would paste path to notepad.
Path may be including filename, maybe it is better.
Thanks.
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Sync dirs: Copy path of right/left to clipboard

Post by *Fla$her »

I support copying full names by selection. Only I would prefer Alt/Shift+C.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Sync dirs: Copy path of right/left to clipboard

Post by *petermad »

2oko
No text pastes to notepad, but it pastes path to tc current directory header.
You are right - I only tested within TC (command line, Lister search dialog etc.) not to Notepad.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply