Error thrown when trying to access Symbolic Link folder

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Function
Posts: 14
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: 14743
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: 14
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: 14743
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: 14
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