LNK Files (Shortcuts) Opens Explorer
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
-
admin
- Site Admin
- Posts: 64828
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: LNK Files (Shortcuts) Opens Explorer
What's the exact target that does not work?
FAQ | XY News RSS | XY X
-
selukwe
- Posts: 162
- Joined: 02 Apr 2012 14:10
- Location: Windows 11 Pro 25H2, Screen scaling: 100%, latest XYplorer version (x64), updated daily.
Re: LNK Files (Shortcuts) Opens Explorer
C:\<user name>\Downloads
I have returned to v 19.80.0108 and this works flawlessly.
I have returned to v 19.80.0108 and this works flawlessly.
-
admin
- Site Admin
- Posts: 64828
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: LNK Files (Shortcuts) Opens Explorer
Yep, saw it now. It did not work if Toolbar | Open With | Resolve Shortcuts before Matching was OFF. Fix comes.
FAQ | XY News RSS | XY X
-
selukwe
- Posts: 162
- Joined: 02 Apr 2012 14:10
- Location: Windows 11 Pro 25H2, Screen scaling: 100%, latest XYplorer version (x64), updated daily.
Re: LNK Files (Shortcuts) Opens Explorer
Superb! Thanks:)
Glad to help.
Glad to help.
-
selukwe
- Posts: 162
- Joined: 02 Apr 2012 14:10
- Location: Windows 11 Pro 25H2, Screen scaling: 100%, latest XYplorer version (x64), updated daily.
Re: LNK Files (Shortcuts) Opens Explorer
Version 19.80.0140 works OK now. Problem fixed. Many thanks:)
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
Heyy, I don't know if this is related, but since around the start of 2023 I've been unable to resolve .lnk shortcuts when they're pointing to a mapped network share (symlinks to the exact same location work fine however!).
For example:
CoolTutorialVideos.lnk points to (an SMB Mapped Drive) "E:\CoolTutorialVideos"
Double-clicking the link takes me to "TOSHIBA (E:)CoolTutorialVideos\" with the error message 'Location currently not available'.
In the address bar, the drive letter appears to be the literal volume label of the mapped drive (TOSHIBA). So I toggled combinations of "Support volume labels in paths" and "Resolve junctions" but it didn't change anything.
What's weird about this though, if I Right-Click the .lnk and select 'Shortcut Target > Go to Shortcut Target' it resolves to the correct location just fine.
Why would the context menu work, but not the double-click?
For example:
CoolTutorialVideos.lnk points to (an SMB Mapped Drive) "E:\CoolTutorialVideos"
Double-clicking the link takes me to "TOSHIBA (E:)CoolTutorialVideos\" with the error message 'Location currently not available'.
In the address bar, the drive letter appears to be the literal volume label of the mapped drive (TOSHIBA). So I toggled combinations of "Support volume labels in paths" and "Resolve junctions" but it didn't change anything.
What's weird about this though, if I Right-Click the .lnk and select 'Shortcut Target > Go to Shortcut Target' it resolves to the correct location just fine.
Why would the context menu work, but not the double-click?
-
admin
- Site Admin
- Posts: 64828
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: LNK Files (Shortcuts) Opens Explorer
Cannot reproduce. How do you create those links?
FAQ | XY News RSS | XY X
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
Just by drag/drop+alt from the mapped (E:\) drive (from either XY or Explorer) to Local and/or Network locations.
I just tried creating a shortcut to the UNC, so "\\NAS\E\CoolTutorialVideos" rather than the mapped "E:\CoolTutorialVideos" and it works with UNC no problem.
Hmmm cloned my XY setup to the NAS pc, and remote .lnk shortcuts (both Mapped and UNC) pointing back to my Desktop seem to be working. So I guess it's something about my Desktop.. registry that's causing XY to fail the resolve? But the shortcuts resolve correctly on both systems when using Explorer.
I guess I'll keep trying things till I can isolate the cause of it. Or give up and convert them all to .lnks to UNC heh
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
Ookay, it looks like it's something caused by setting the SMB Mapped Drive (E:\) root as my Windows' "Downloads" folder.
Creating different SMB mapped drives (F:\,G:\, etc:\) all seem to work correctly.
Something about that special Shell Folder is making XY not resolve it correctly and calls it by it's volume label (like it would do for a "Downloads" folder I guess)
Creating different SMB mapped drives (F:\,G:\, etc:\) all seem to work correctly.
Something about that special Shell Folder is making XY not resolve it correctly and calls it by it's volume label (like it would do for a "Downloads" folder I guess)
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
I don't think it's the link, as the link will work - as long as it's not pointing to "Downloads"\Foldername\. If I remove the Windows "Downloads" Shell Folder properties by changing the location, eg instead of E:\ I assign a temp folder:
then the exact same link that was broken before and resolving to "VolumeLabel(E:\)Foldername\" will now correctly resolve to "E:\Foldername"
It looks like this when broken: I've tried to attach it, wonder if it works
It looks like this when broken: I've tried to attach it, wonder if it works
- Attachments
-
- Folder.rar
- (608 Bytes) Downloaded 98 times
-
- Folder.7z
- (90 Bytes) Downloaded 88 times
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
I've managed to reproduce it on the other network PC now with this setup:
PC-A
(map drive from PC-B [T:\]) E:\
set 'Downloads' folder to root of mapped drive 'E:\'
restart/open XY
create Shortcut LNK target to "E:\Example" - this fails
create UNC LNK target to "\\PC-B\T\Example" - this works
PC-B
(local drive) T:\Example\
PC-A
(map drive from PC-B [T:\]) E:\
set 'Downloads' folder to root of mapped drive 'E:\'
restart/open XY
create Shortcut LNK target to "E:\Example" - this fails
create UNC LNK target to "\\PC-B\T\Example" - this works
PC-B
(local drive) T:\Example\
-
admin
- Site Admin
- Posts: 64828
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: LNK Files (Shortcuts) Opens Explorer
I'm still confused. I don't see why another PC would be needed to reproduce the problem.
When you say "map drive" how exactly do you map?
The LNK target is shown eg on the Meta tab. Does it look correct?
When you say "map drive" how exactly do you map?
The LNK target is shown eg on the Meta tab. Does it look correct?
FAQ | XY News RSS | XY X
-
Display
- Posts: 79
- Joined: 21 Apr 2015 11:20
- Location: Win10x64 21H2 LTSC @ 100% / XYx64 v.28.00.0500
Re: LNK Files (Shortcuts) Opens Explorer
Ah, when you said you couldn't reproduce it, I wondered if it was my Desktop that might be causing it so I tried it on a different PC to see if I could reproduce it
I create network shares of drives on PC-B with full Admin access: Then on PC-A w/ Explorer or XY I map that from the context menu and set the drive to be the Shell Folder 'Downloads': -
Yes, LNKs targeting the 'Downloads' drive are showing the correct local paths: But for some reason it resolves to VolumeName(VolumeLetter:)FolderName \ -
If I change the 'Downloads' Shell Folder to any other folder/drive, those previously unresolveable 'Location currently not available' LNKs start resolving to the correct local paths
XYplorer Beta Club