Lister on a junction folder: how to show destination path?
Moderators: Hacker, petermad, Stefan2, white
Lister on a junction folder: how to show destination path?
There may be a plugin for this but i'd like to request that when on a folder and pressing F3, for Lister to show a junction's destination path.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Lister and Junctions
I do this with a saved search:
and a user-defined help text:
see: https://madsenworld.dk/tcmd/lnkhelp1.png and https://madsenworld.dk/tcmd/lnkhelp2.png
Using the plugin: NTLinks 1.6.0.244 - https://totalcmd.net/plugring/ntlinks.html
Code: Select all
[Searches]
LNK_SearchFor=
LNK_SearchIn=
LNK_SearchText=
LNK_SearchFlags=0|000002000020|||||||||0000|
LNK_plugin=""tc.file type" = "reparse point""
Code: Select all
[HintsCustomField]
0exts=>LNK
0fields=[=ntlinks.RP_Target] ([=ntlinks.Obj_Type])
Using the plugin: NTLinks 1.6.0.244 - https://totalcmd.net/plugring/ntlinks.html
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
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
Re: Lister and Junctions
to me:
LNK_plugin=""tc.file type" = "reparse point""
find only folder symbolic link
LNK_plugin="tc.file type" = "reparse point" | ntlinks.Obj_Type = Symlink
find folder and file symbolic link
but i'm not able to find hardlinks.
LNK_plugin=""tc.file type" = "reparse point""
find only folder symbolic link
LNK_plugin="tc.file type" = "reparse point" | ntlinks.Obj_Type = Symlink
find folder and file symbolic link
but i'm not able to find hardlinks.
Re: Lister and Junctions
2Hurdet
This should find Junction, SymlinkD, Symlink and Hardlink
And this could show help text for them:
The path for hardlinks will always be current path.
-------------
If you want all the paths for hardlinks then use:
and:
EDITED typo in code here above.
This should find Junction, SymlinkD, Symlink and Hardlink
Code: Select all
LNK_SearchFor=
LNK_SearchIn=
LNK_SearchText=
LNK_SearchFlags=0|002002000020|||||||||0000|||
LNK_plugin="tc.file type" = "reparse point" | ntlinks.Obj_Type = Symlink | ntlinks.HLNK_Count > 1
Code: Select all
[HintsCustomField]
0exts=>LNK
0fields=[=ntlinks.Obj_RealPath] ([=ntlinks.Obj_Type])
-------------
If you want all the paths for hardlinks then use:
Code: Select all
HLNK_SearchFor=
HLNK_SearchIn=
HLNK_SearchText=
HLNK_SearchFlags=0|002002000020|||||||||0000|||
HLNK_plugin=ntlinks.HLNK_Count > 1
LNK_SearchFor=
LNK_SearchIn=
LNK_SearchText=
LNK_SearchFlags=0|002002000020|||||||||0000|||
LNK_plugin="tc.file type" = "reparse point" | ntlinks.Obj_Type = Symlink
Code: Select all
[HintsCustomField]
0exts=>LNK
0fields=[=ntlinks.Obj_RealPath] ([=ntlinks.Obj_Type])
1exts=>HLNK
1fields=Hardlinks: [=ntlinks.HLNK_Paths]
Last edited by petermad on 2020-08-21, 09:35 UTC, edited 2 times in total.
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
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
Re: Lister and Junctions
1fields=Hardlinks: [=ntlinks.Hard Copies}
has a small typo. I think:
1fields=Hardlinks: [=ntlinks.Hard Copies]
but so it show only file "filename Hardlinks: [EMPTY]"
I not have [=ntlinks.Hard Copies] but [=ntlinks.HLNK_Count]
do you mean this?
has a small typo. I think:
1fields=Hardlinks: [=ntlinks.Hard Copies]
but so it show only file "filename Hardlinks: [EMPTY]"
I not have [=ntlinks.Hard Copies] but [=ntlinks.HLNK_Count]
do you mean this?
Re: Lister and Junctions
IMO it doesn't make any sense to show the target for hard links because they don't have any target since they're not links like symbolic links or junctions. A hard link is just another entry in the MFT for the exact same file, nothing else.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Lister and Junctions
2Hurdet
This should show all the paths for the current hardlink - see: https://madsenworld.dk/tcmd/hardlinkpaths.png
I have edited my post above accordingly.
Yes, there was a typo (} -> ]). and sorry - [=ntlinks.Hard Copies] is the user friendly name shown in the dialogs (English) - the generic code is: [=ntlinks.HLNK_Paths]1fields=Hardlinks: [=ntlinks.Hard Copies}
has a small typo. I think:
1fields=Hardlinks: [=ntlinks.Hard Copies]
but so it show only file "filename Hardlinks: [EMPTY]"
I not have [=ntlinks.Hard Copies] but [=ntlinks.HLNK_Count]
do you mean this?
This should show all the paths for the current hardlink - see: https://madsenworld.dk/tcmd/hardlinkpaths.png
I have edited my post above accordingly.
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
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
Re: Lister and Junctions
Hey petermad,
Thanks for the solution, i implemented it but i had to enable "Show filename as tooltip", which i had disabled.
In any case, my request still stands. Showing the selected junction's target in Lister is as simple as your solution, and is hopefully also simple to implement.
Thanks for the solution, i implemented it but i had to enable "Show filename as tooltip", which i had disabled.
In any case, my request still stands. Showing the selected junction's target in Lister is as simple as your solution, and is hopefully also simple to implement.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Lister on a junction folder: how to show destination path?
I usually use mentioned pattern because TC's internal field ignores symlinks to files:
And, I hate internal Lister reaction on directories, it causes time lost every time I accidentally press F3 on a directory, so I use NoDirQuickView plugin that disables standard info page.
But I agree that reparse point target path is important enough to show it in standard directory preview.
Code: Select all
"tc.file type" = "reparse point" | ntlinks.Obj_Type = Symlink
But I agree that reparse point target path is important enough to show it in standard directory preview.
Re: Lister on a junction folder: how to show destination path?
Refining this request, it would be nice if F3 on a dir worked like this:
Line 1: Selected path
Line 2: Junction target path
Line 3: Empty
Line 4: Start counting occupied space and display it after having displayed the above.
In other words, don't show "..." when opening Lister and show everything after the subfolder count has finished, but rather show the first 3 lines and then in Line 4 show "..." until the count has finished, then remove "..." and show the results.
An INI flag could also exist that would prevent TC from counting subfolders and just show the first 2 lines (i.e. NoFolderCountInLister=1).
Line 1: Selected path
Line 2: Junction target path
Line 3: Empty
Line 4: Start counting occupied space and display it after having displayed the above.
In other words, don't show "..." when opening Lister and show everything after the subfolder count has finished, but rather show the first 3 lines and then in Line 4 show "..." until the count has finished, then remove "..." and show the results.
An INI flag could also exist that would prevent TC from counting subfolders and just show the first 2 lines (i.e. NoFolderCountInLister=1).
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Lister on a junction folder: how to show destination path?
Support+++++++++++++it would be nice if F3 on a dir worked like this:
#146217 personal license