Error thrown when trying to access Symbolic Link folder

Things you’d like to miss in the future...
Post Reply
Function
Posts: 8
Joined: 10 Aug 2017 06:06

Error thrown when trying to access Symbolic Link folder

Post by Function »

When I type the address of symbolically linked folder in the address bar, XYplorer throw an error

Code: Select all

Not Found: Location Or Item
Could not find: []
Accessing the parent directory and double clicking on the folder works fine. This is the error screen when typing in the address:
Image

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Error thrown when trying to access Symbolic Link folder

Post by highend »

Welcome to the forum

- OS?
- XY version?
- Full path of the link?
- Full path of the target of the symbolic link?
One of my scripts helped you out? Please donate via Paypal

Function
Posts: 8
Joined: 10 Aug 2017 06:06

Re: Error thrown when trying to access Symbolic Link folder

Post by Function »

Thanks for the warm welcome and sorry for not providing this info
  • OS - Windows 10 x64. Can get more technical details if necessary
  • XY version - 18.2
  • Full path of the link - C:\Users\username\AppData\Roaming\ShareX
  • Full path of the target of the symbolic link - C:\Users\username\Documents\Dropbox\Programs\ShareX
I've used the symbolic link to have Dropbox sync folders outside of the native one.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Error thrown when trying to access Symbolic Link folder

Post by highend »

How exactly did you create this symlink?

E.g. if I do this in XY (started with admin permissions)

CD into "C:\Users\highend"
Create a new folder "ShareX", select it
Execute this script

Code: Select all

new("ShareX Symlink", "symlink", <curitem>);
And then enter the path of the symlink into the addressbar

Code: Select all

C:\Users\highend\ShareX Symlink
Hitting enter, XY switches into "C:\Users\highend\ShareX"

In other words, works fine here...

Did you try it in a fresh XY?
Enter

Code: Select all

fresh;
in the address bar and hit enter

to get an instance to test it...
One of my scripts helped you out? Please donate via Paypal

Function
Posts: 8
Joined: 10 Aug 2017 06:06

Re: Error thrown when trying to access Symbolic Link folder

Post by Function »

Interesting. Your method seems to work. The symlink was created with Link Shell Extension which has worked fine for me for years and never caused issues in any programs.

Post Reply