Copy path-names in "Synchronize directories"

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Sensor
Junior Member
Junior Member
Posts: 3
Joined: 2022-03-17, 10:02 UTC

Copy path-names in "Synchronize directories"

Post by *Sensor »

A small request: when in "Synchronize directories", after "Compare", the folders are shown as gray bars.
As these directories get very deep (long paths), I would like to be able to copy the path-name to the clipboard.
So my idea is:
  • On the gray folder bar, right-click (this gives a long list of options)
  • Add two options: "Copy name left" and "Copy name right".
Thanks for this phenomenally good software, it makes me happy every day.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copy path-names in "Synchronize directories"

Post by *ghisler(Author) »

Right clicking already selects the entire folder contents, so I can't add it like this.

Just press Ctrl+C to copy the relative folder name.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy path-names in "Synchronize directories"

Post by *petermad »

2ghisler(Author)
Is there a chance that for example Shift+Ctrl+C could be made to copy the full path name and not just the relative name?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Copy path-names in "Synchronize directories"

Post by *sa16 »

2petermad
Shift+Ctrl+C could be made to copy the full path name
And for which catalog: left or right?
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy path-names in "Synchronize directories"

Post by *petermad »

And for which catalog: left or right?
For the left - then Alt+Shift+Ctrl+C could be used for the right side
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Copy path-names in "Synchronize directories"

Post by *sa16 »

2Sensor
You can use "Left properties Alt+Enter" and "Right properties Alt+Shift+Enter" on a file from the catalog and copy the path from there.
oko
Senior Member
Senior Member
Posts: 250
Joined: 2007-05-03, 16:22 UTC

Re: Copy path-names in "Synchronize directories"

Post by *oko »

2sa16
not very practical. After alt+enter you must click and select and then ctrl+c and close the dialogbox.
Last edited by oko on 2025-03-08, 07:17 UTC, edited 1 time in total.
oko
Senior Member
Senior Member
Posts: 250
Joined: 2007-05-03, 16:22 UTC

Re: Copy path-names in "Synchronize directories"

Post by *oko »

It would be very useful to have "copy path" command in syncdir. I would appreciate something simple and universal, for example:
F5 for left, Shift+F5 for right
or
F7, F8, F9... or whatever free and simple keystrike.

It could be universal for folder and file:
- copy full path name - for folder
- copy full path name with file name - for file
User avatar
mrp
Junior Member
Junior Member
Posts: 39
Joined: 2004-04-22, 10:36 UTC
Location: im schönen Seeland

Re: Copy path-names in "Synchronize directories"

Post by *mrp »

Maybe I missunderstand the question, but I've been using [ALT]+[Down Arrow] (left context menu) and [SHIFT]+[ALT]+[Down Arrow] (right context menu) and then "Copy as path". I'dont remember how for how long but it has been working like that for a while now.
Windows 11 x64, dark Tower, glowing Keyboard & ++Monitor (Mouse?! What for?)
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Copy path-names in "Synchronize directories"

Post by *petermad »

2mrp
Maybe I missunderstand the question, but I've been using [ALT]+[Down Arrow] (left context menu) and [SHIFT]+[ALT]+[Down Arrow] (right context menu) and then "Copy as path".
I don't see "Copy as path" in the context menu (at least not in Windows 10) - you must have some shell extension installed or a registry chnage, that shows that option in the context menu.

Maybe something like this: https://superuser.com/questions/582980/how-to-make-copy-as-path-appear-in-windows-explorer-context-menu-without-shift
Or this: https://www.tenforums.com/tutorials/73649-copy-path-add-context-menu-windows-10-a.html

It works as you describe though for the right side, because of the pressed shift key.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Copy path-names in "Synchronize directories"

Post by *sa16 »

2mrp
then "Copy as path"
Or you can just use "Copy".
oko
Senior Member
Senior Member
Posts: 250
Joined: 2007-05-03, 16:22 UTC

Re: Copy path-names in "Synchronize directories"

Post by *oko »

You must have registry change if you want to have always "copy as path" in windows context menu (as petermad says). Otherwise for left file you have to use right click, then shift+show left context menu). However, showing windows context menu lasts more longer (it acquires many information in background till shows menu), so not very time effective.
In case of directory (grey row) you have not acces to left "copy path" because you can not use shift (shift+alt+down shows right menu) and can not acces context menu through right click.

Direct keyboard shortcut to copy path is necessary to solve this complications. But as I have mentioned it should be simple keystrike. Hard combinations e.g. Ctrl+Shift+Alt+Letter is not good way.
oko
Senior Member
Senior Member
Posts: 250
Joined: 2007-05-03, 16:22 UTC

Re: Copy path-names in "Synchronize directories"

Post by *oko »

2sa16
if "copy" from windows context menu is used, it can not be pasted anywhere (e.g. to notepad).
al123456
Junior Member
Junior Member
Posts: 11
Joined: 2023-01-16, 14:09 UTC

Re: Copy path-names in "Synchronize directories"

Post by *al123456 »

Depending on what you want to finally do with the file path, maybe this could be a more complete solution:
viewtopic.php?t=85475
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Copy path-names in "Synchronize directories"

Post by *sa16 »

2oko
if "copy" from windows context menu is used, it can not be pasted anywhere (e.g. to notepad).
You're right.
I tried pasting into another copy of Total Commander using Ctrl+V. Works in the command line, in the field of the current directory, search dialog, when creating a new folder, file, etc.
Last edited by sa16 on 2025-03-13, 12:56 UTC, edited 2 times in total.
Post Reply