Page 1 of 2

Support for Link Shell Extension

Posted: 02 Nov 2011 12:21
by genieautravail
Hello,

Please, consider to add support for Link Shell Extension :
http://schinagl.priv.at/nt/hardlinkshel ... llext.html

In windows Explorer, when I do a right click on an empty area, I can drop a hardlink, a junction, a volume mountpoint or a symbolic link.
But in XYExplorer, when I do a right click on an empty area, I don't have access to the contextual menu of Windows Explorer. :roll:

Re: Support for Link Shell Extension

Posted: 02 Nov 2011 12:33
by TheQwerty
Right clicking the folder's icon in the address bar will bring up the shell's context menu for that path.

If you would prefer it also work on the list's whitespace there is an INI tweak:
; Tweak: 0=Edit menu, 1=Folder's shell menu, 2=Favorites, 3=reserved, 4=Tabs
CEA_ListRightClickOnWhite=1
Just follow the directions here http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=3543 to set CEA_ListRightClickOnWhite to 1.

Re: Support for Link Shell Extension

Posted: 02 Nov 2011 12:34
by admin
1. See Help / Paste Special: All sorts of link creation are supported.
2. Items not in context menu, see here: http://www.xyplorer.com/faq-topic.php?id=ctx64

Re: Support for Link Shell Extension

Posted: 02 Nov 2011 20:11
by genieautravail
Thank you very much for the answers ! :D

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 14:23
by Minimax
LSE now works in XYplorer due to my asking.

Website:
http://schinagl.priv.at/nt/hardlinkshel ... nsion.html

Download link 32-bit LSE on 64-bit Windows:
http://schinagl.priv.at/nt/hardlinkshel ... n32x64.exe

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 14:30
by admin
Cool, thanks for asking!

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 15:58
by LittleBiG
I have just tried "Paste Special" as hard link. Is there any way to see that this file is hard linked? I mean is it possible to show (e.g. by coloring) that the physical file has more than one name in the file system?

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 17:49
by admin
LittleBiG wrote:I have just tried "Paste Special" as hard link. Is there any way to see that this file is hard linked? I mean is it possible to show (e.g. by coloring) that the physical file has more than one name in the file system?
There would be a way, but it is too slow to use it for the main file list. It would be possible though as new field in the FIle INfo Tips.

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 21:30
by LittleBiG
admin wrote:There would be a way, but it is too slow to use it for the main file list. It would be possible though as new field in the FIle INfo Tips
Any kind of solution would be appreciated by me.

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 22:06
by PeterH
admin wrote:
LittleBiG wrote:I have just tried "Paste Special" as hard link. Is there any way to see that this file is hard linked? I mean is it possible to show (e.g. by coloring) that the physical file has more than one name in the file system?
There would be a way, but it is too slow to use it for the main file list. It would be possible though as new field in the FIle INfo Tips.
If I understood it right a hardlink is just the same as the normal link (say: the original name) of a file, with another name.
And just had a look: Wiki says a hardlink can't be distinguished from the "original" link.

If this is right the only thing you can do would be to count the number of links refering to a physical file. And if you find more than 1 then hardlink(s) must have been made.

And if you delete the original link, the physical file remains with the second name, previously made as a hardlink...

Re: Support for Link Shell Extension

Posted: 13 Mar 2012 23:10
by Marco
PeterH, exactly my thought.
The problem is thus more of knowing if a file has more than 1 hardlink.
Couldn't be possible to use this http://schinagl.priv.at/nt/ln/ln.html ?

Re: Support for Link Shell Extension

Posted: 14 Mar 2012 05:52
by Twisten
Reminds me why i never got into messing with links, other than for the purposes of drives mount points.

Re: Support for Link Shell Extension

Posted: 14 Mar 2012 09:00
by admin
Just to make sure: retrieving the number of hardlinks is no problem, the code is already present in the app since 2008 but I never used it.

So everybody agrees that it makes sense to add this as another "extra field" to File Info Tips?

Re: Support for Link Shell Extension

Posted: 14 Mar 2012 09:36
by Minimax
admin wrote:Cool, thanks for asking!
Thanks for the indispensable contextual "Paste Special" feature. Particularly "Paste as Junction" etc.
If I had known this earlier I wouldn't have asked for LSE compatibility though. I truly underestimated XYplorer's capabilities here. :shock:

But this is a nice coincidence in favor of XYplorer and other users, thus I am satisfied. :D

Re: Support for Link Shell Extension

Posted: 14 Mar 2012 10:27
by LittleBiG
admin wrote:So everybody agrees that it makes sense to add this as another "extra field" to File Info Tips?
Me, definately. So there will be a chance to know in advance that deleting of a particular file won't free up disk space and there is another name to label this content somewhere...

Plus, I was wondering if searching all name (hardlink) of a file somehow is a file management task or not? :?: I must to tell it is not essential to me now, as I said I was just wondering.