Symbolic Link Paths Not Resolving Properly
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Symbolic Link Paths Not Resolving Properly
Hi,
Due to limitations with Dropbox mapping, I need to have a directory mapped to a drive letter for a project, which is no problem. This issue is that when I use the convenient path bar to go to a specific directory, the mapping does not resolve properly, and does not respect the mapped path.
For example:
I'm in "M:\projects\test\incoming\video\" and if I want to go up to the projects directory, normally I would just click "project" in the filepath bar.
What I'm seeing instead: "D:\Dropbox\PL\projects\"
What I'm expecting: "M:\projects\".
As you can see, when I start from the M: location, clicking on the directory in the filepath bar, should be taking me to the same M: location I am clicking on. Normally, I wouldn't care to much, but I'm constantly having to copy and paste filepaths, and these need to resolve to the project's M: and not the local path (D:)
This is only occurring in xyplorer, if I do the same function in a Windows Explorer, the path stays relative to the M: and not the D: when clicking on a higher folder name in the filepath bar.
I have tried changing the symbolic link to a junction, but xyplorer still has the same issue when resolving the paths.
Currently, the only method that works is for me to use the green "up" arrow on the xyplorer taskbar, or Alt+Up to navigate up to a higher directory.
Hopefully this makes sense. Please let me know if there is a way to resolve this issue in xyplorer.
Thanks,
Dave
Due to limitations with Dropbox mapping, I need to have a directory mapped to a drive letter for a project, which is no problem. This issue is that when I use the convenient path bar to go to a specific directory, the mapping does not resolve properly, and does not respect the mapped path.
For example:
I'm in "M:\projects\test\incoming\video\" and if I want to go up to the projects directory, normally I would just click "project" in the filepath bar.
What I'm seeing instead: "D:\Dropbox\PL\projects\"
What I'm expecting: "M:\projects\".
As you can see, when I start from the M: location, clicking on the directory in the filepath bar, should be taking me to the same M: location I am clicking on. Normally, I wouldn't care to much, but I'm constantly having to copy and paste filepaths, and these need to resolve to the project's M: and not the local path (D:)
This is only occurring in xyplorer, if I do the same function in a Windows Explorer, the path stays relative to the M: and not the D: when clicking on a higher folder name in the filepath bar.
I have tried changing the symbolic link to a junction, but xyplorer still has the same issue when resolving the paths.
Currently, the only method that works is for me to use the green "up" arrow on the xyplorer taskbar, or Alt+Up to navigate up to a higher directory.
Hopefully this makes sense. Please let me know if there is a way to resolve this issue in xyplorer.
Thanks,
Dave
Re: Symbolic Link Paths Not Resolving Properly
Configuration | General | Controls & More | Miscellaneous | [x] Resolve junctions
is ticked?
is ticked?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Re: Symbolic Link Paths Not Resolving Properly
Yes, "Resolve junctions" is ticked.
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Re: Symbolic Link Paths Not Resolving Properly
bumping to see if anyone knows a solution to this behavior in xyplorer.
Re: Symbolic Link Paths Not Resolving Properly
What happens if you try it with a fresh instance?
Execute
I've created this path
and used
When I now navigate into
and click on
Execute
fresh;
from the address barI've created this path
E:\projects\test\incoming\video
and used
subst m: e:\projects
in a command prompt afterwardsWhen I now navigate into
M:\test\incoming\video
and click on
test
in the breadcrumb bar I'm in M:\test
and not in E:\projects\test
...One of my scripts helped you out? Please donate via Paypal
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Re: Symbolic Link Paths Not Resolving Properly
Thank you for testing, and the proposed solution. I tried running the "fresh" version of xyplorer, but the same navigation issues persist.
If I navigate to the junction point, the mapping immediately changes to the D:\Dropbox path, instead of resolving to the M: path as shown in the filepath bar.
Testing it further, I'm seeing that any path after the junction automatically resolves to the D: path. And any before retain the M: Using the example below, "M:\Productions\projects\" is ok, but any path upwards from this has broken path resolution.
M:\Productions\projects\spot\ad\published\shots\0020\
If I navigate to the junction point, the mapping immediately changes to the D:\Dropbox path, instead of resolving to the M: path as shown in the filepath bar.
Testing it further, I'm seeing that any path after the junction automatically resolves to the D: path. And any before retain the M: Using the example below, "M:\Productions\projects\" is ok, but any path upwards from this has broken path resolution.
M:\Productions\projects\spot\ad\published\shots\0020\
Re: Symbolic Link Paths Not Resolving Properly
How exactly did you create that junction?
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Re: Symbolic Link Paths Not Resolving Properly
I'm copying a folder from inside of "D:\Dropbox", and pasting into "M:\productions\projects\", using this command:
Edit->Paste Special-> Paste as Junction
or
Edit->Paste Special-> Paste as Shortcut
I'm not sure how to tell in Windows what the link currently is, but I believe it's a shortcut. I have been testing shortcuts and junctions to see if one will work as expected, and I believe I left it as a shortcut (at least that's what the icon looks like).
Edit->Paste Special-> Paste as Junction
or
Edit->Paste Special-> Paste as Shortcut
I'm not sure how to tell in Windows what the link currently is, but I believe it's a shortcut. I have been testing shortcuts and junctions to see if one will work as expected, and I believe I left it as a shortcut (at least that's what the icon looks like).
Re: Symbolic Link Paths Not Resolving Properly
Ok, tested it with "paste as junction" and I see the same behavior...
Funny thing: Right clicking on any parent folder in the breadcrumb bar, "Copy path": This is the correct path (in M:) but clicking on it leads to the path in D:
Don?
Funny thing: Right clicking on any parent folder in the breadcrumb bar, "Copy path": This is the correct path (in M:) but clicking on it leads to the path in D:
Don?
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60544
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Symbolic Link Paths Not Resolving Properly
I'll look at it later. Are you saying that both commands show the same bug?
Edit->Paste Special-> Paste as Junction
Edit->Paste Special-> Paste as Shortcut
Edit->Paste Special-> Paste as Junction
Edit->Paste Special-> Paste as Shortcut
FAQ | XY News RSS | XY Twitter
Re: Symbolic Link Paths Not Resolving Properly
I don't think that he really used "Paste as Shortcut(s)"
This would create
I've tried
Edit->Paste Special-> Paste as Symbolic Link(s)
Edit->Paste Special-> Paste as Junction(s)
and both are showing the same behavior
This would create
<something>.lnk
and it would immediately put you back into the original source folder when trying to access this shortcutI've tried
Edit->Paste Special-> Paste as Symbolic Link(s)
Edit->Paste Special-> Paste as Junction(s)
and both are showing the same behavior
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60544
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Symbolic Link Paths Not Resolving Properly
Can you confirm that the problem disappears when yon untick Configuration | General | Controls & More | Miscellaneous | Resolve junctions?
FAQ | XY News RSS | XY Twitter
Re: Symbolic Link Paths Not Resolving Properly
Yeah, it works fine if it's unticked but while (at least I) would want to use that setting, this is probably a special case (navigating via the breadcrumb bar)
Maybe another setting
Configuration | General | Controls & More | Miscellaneous | Resolve junctions in breadcrumb bar
which works separately from the main setting?
Maybe another setting
Configuration | General | Controls & More | Miscellaneous | Resolve junctions in breadcrumb bar
which works separately from the main setting?
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60544
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Symbolic Link Paths Not Resolving Properly
I fixed it by making it work as expected independently of this setting. I don't think a new setting is necessary.
FAQ | XY News RSS | XY Twitter
-
- Posts: 30
- Joined: 20 Aug 2019 05:31
Re: Symbolic Link Paths Not Resolving Properly
Awesome, unticking "Resolve junctions" works! I can navigate the filepath/breadcrumb bar without losing the root drive path.
Thanks for chasing this down.
Thanks for chasing this down.