Better handling of junctions

Features wanted...
admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

Well, OK, I could convert "C:\Documents and Settings\Don\Anwendungsdaten\Dropbox" into "C:\Users\Don\AppData\Roaming\Dropbox" before feeding it to the tree, and then silently change the AddressBar contents (if it was pasted there) to the converted path. Hmm, is that good?

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

admin wrote:Well, OK, I could convert "C:\Documents and Settings\Don\Anwendungsdaten\Dropbox" into "C:\Users\Don\AppData\Roaming\Dropbox" before feeding it to the tree, and then silently change the AddressBar contents (if it was pasted there) to the converted path. Hmm, is that good?
It could be a nice addition.
In the meantime I've modified my habits so to include more relative paths, and the need for "resolvable junctions" has almost gone.
Don, it's up to you :)
By the way, I confirm that locking the tree as you suggested works as expected (using 10.60.0113)
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Better handling of junctions

Post by nas8e9 »

admin wrote:Well, OK, I could convert "C:\Documents and Settings\Don\Anwendungsdaten\Dropbox" into "C:\Users\Don\AppData\Roaming\Dropbox" before feeding it to the tree, and then silently change the AddressBar contents (if it was pasted there) to the converted path. Hmm, is that good?
Sounds good to me, especially as with locking the Tree, the List doesn't resolve to the physical path (should have noted that in my previous post) but remains "hanging" under the junction (should be C:\Users\[username]AppData\Roaming but with locked Tree remains in C:\Documents and Settings\[username]\).

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

I'll experimentally add something to the next beta...

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Better handling of junctions

Post by nas8e9 »

The ResolveNestedJunctions=1-tweak works for me so far. Thank you!

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

admin wrote:I'll experimentally add something to the next beta...
Marco, speak to me...

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

admin wrote:Marco, speak to me...
:D
Works perfectly here! [Win 7 Italian]
I tried different "junctioned" paths and I found no problem so far.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

Marco wrote:
admin wrote:Marco, speak to me...
:D
Works perfectly here! [Win 7 Italian]
I tried different "junctioned" paths and I found no problem so far.
Good! I wonder if this tweak should become the factory default... hmmm...?

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

In my opinion, it would make sense.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

Here we go again :D
I'm playing with junctions (of course) and I notice a different behaviour between XY on XP and XY on 7. Let's paste a path with a junction in XY address bar.

7: the path is fully "parsed" (can't think of a better term), so that it contains no junctions in it; it is a real/physical path.
XP: the path preserves the junctions in it; the end result is a mix of real and "virtual/junctioned" parts.

I'd like to know if anybody can confirm this behaviour and would like to receive some insight. By doing some trials seems that this behaviour is related to XY itself and not the underlying OS.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

Marco wrote:Here we go again :D
I'm playing with junctions (of course) and I notice a different behaviour between XY on XP and XY on 7. Let's paste a path with a junction in XY address bar.

7: the path is fully "parsed" (can't think of a better term), so that it contains no junctions in it; it is a real/physical path.
XP: the path preserves the junctions in it; the end result is a mix of real and "virtual/junctioned" parts.

I'd like to know if anybody can confirm this behaviour and would like to receive some insight. By doing some trials seems that this behaviour is related to XY itself and not the underlying OS.
Well, I made it apply only to Win7! :lol: I did not expect anybody in XP needed this junction stuff since only Win7 introduced the junction hell to the innocent users. I will change it, no problem...

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

Wait a second: I fully understand that the tweak you introduced in this thread only applies to vista and 7.
What I noticed is a strangely different behaviour: feeding a path with junctions inside XY address bar on XP gets me to destination! It doesn't stop half way as 7 did.
That's what baffles me...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

Marco wrote:Wait a second: I fully understand that the tweak you introduced in this thread only applies to vista and 7.
What I noticed is a strangely different behaviour: feeding a path with junctions inside XY address bar on XP gets me to destination! It doesn't stop half way as 7 did.
That's what baffles me...
Hm, that's indeed baffling. So I should not change the tweak to apply to XP also? Hard to say without fully understanding what's going on... for now I will change it. You and nas8e9 are probably the only persons using the tweak anyway :)

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Better handling of junctions

Post by Marco »

:oops: I'm so sorry to bug you again but it looks like the tweak doesn't work with junctions pointing to volumes different from the system one.
I have the the junction C:\Dati pointing to the volume N:\. When I try to go to C:\Dati\Marco (via catalog) I'd expect to end in N:\Marco, yet the address bar shows N:\\Marco (extra slash), and the according location currently not available error.
All the other junctions (intra-volume) work fine.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Better handling of junctions

Post by admin »

Marco wrote::oops: I'm so sorry to bug you again but it looks like the tweak doesn't work with junctions pointing to volumes different from the system one.
I have the the junction C:\Dati pointing to the volume N:\. When I try to go to C:\Dati\Marco (via catalog) I'd expect to end in N:\Marco, yet the address bar shows N:\\Marco (extra slash), and the according location currently not available error.
All the other junctions (intra-volume) work fine.
Confirmed and fixed.

I also confirm that in XP the tweak does not seem necessary.

Post Reply