Page 1 of 2
UNC path from Run dialog opens in File Explorer
Posted: 23 May 2019 05:08
by johndk
I'm evaluating XYplorer to see if I want to buy it, but there's a *really* annoying bug that might prevent me.
If you run a UNC path from outside XYplorer (such as in the Run dialog, or at a command prompt using "start"), then it always opens in regular File Explorer.
This is a huge problem for me, because I open UNC paths from the Run dialog, numerous times each day - it's fast and it's a habit I don't see myself stopping anytime soon.
After reading the
viewtopic.php?f=2&t=19915 thread I thought maybe it would be fixed, but that clearly is just for shortcuts opened within XYplorer (which does work).
(It would be really nice if it also worked when opening a desktop shortcut to a UNC path. I wouldn't expect or even want a UNC shortcut to open in XYplorer if opened from within a File Explorer window, but I think it should happen if it's opened from the regular Desktop view. I've set the pref that I want XYplorer to be my default, so it should take over.)
(Testing on Win 10 1803, using the official release and the latest beta 20.00.0001.)
Thanks!
Re: UNC path from Run dialog opens in File Explorer
Posted: 24 May 2019 09:26
by admin
Welcome to the club!
I tested this under Win 8.1 and it seems to work fine with UNC paths. Just to make sure: Configuration | Other | Shell Integration | Default File Manager | XYplorer is default file manager has to be ticked.
Don
Re: UNC path from Run dialog opens in File Explorer (and "\\?\" paths are completely broken)
Posted: 24 May 2019 17:41
by johndk
I get the same failure on both Win 8.1 and Win 10. I do have the "XYplorer is default file manager" option selected. And it does work if I launch a local path ("c:\windows") from the Run dialog, indicating that the option is enabled.
I also just noticed that if even a local path is run with the "\\?\" Win32 File Namespace prefix, it completely fails from the Run dialog (doesn't even open in File Explorer), but it does work when launched via "start" at the command prompt - unlike UNC paths which go to File Explorer no matter what. I'm wondering if this should be put in a separate thread, but the issues are so closely related I'll leave it here for now (updating the Subject to note this though).
So:
- Normal local path ("c:\windows"): SUCCESS
- UNC path ("\\myserver"): FAILS partially (opens in File Explorer), whether opened from the Run dialog or via "start". (Does work if opened from within XYplorer.)
- Local path prefixed with "Win32 Namespace" ("\\?\c:\windows"):
- Run dialog: FAILS completely (doesn't open anywhere, although it does focus XYplorer)
- Via "start": SUCCESS
Re: UNC path from Run dialog opens in File Explorer
Posted: 24 May 2019 20:56
by admin
That "\\?\" does not work is a problem of the Run dialog. I cannot fix that.
I now confirm that UNC paths to servers (\\server\) indeed open in Explorer. But any longer UNC paths (\\server\share\...) open in XYplorer.
Re: UNC path from Run dialog opens in File Explorer
Posted: 24 May 2019 23:43
by johndk
Okay great. The "\\?\" paths aren't an issue for me, but will be great when the \\server issue is fixed.
Thanks!
Re: UNC path from Run dialog opens in File Explorer
Posted: 25 May 2019 09:31
by admin
Looks like the \\server issue cannot be fixed. Yes, I can make servers open in XYplorer, but then XYplorer also wants to open virtual folders like "Control Panel" and this won't work well. So, when you get servers you will lose Control Panel. No good deal...
Re: UNC path from Run dialog opens in File Explorer
Posted: 26 May 2019 09:51
by admin
admin wrote: ↑25 May 2019 09:31
Looks like the \\server issue cannot be fixed. Yes, I can make servers open in XYplorer, but then XYplorer also wants to open virtual folders like "Control Panel" and this won't work well. So, when you get servers you will lose Control Panel. No good deal...
Today I added a tweak (
ShellIncludeSpecialFolders) to the next beta, that will make \\server work in Run dialog (but probably will kill Control Panel).
Re: UNC path from Run dialog opens in File Explorer
Posted: 27 May 2019 16:55
by johndk
Awesome, thanks! I'll check it out.
Re: UNC path from Run dialog opens in File Explorer
Posted: 27 May 2019 19:07
by admin
Re: UNC path from Run dialog opens in File Explorer
Posted: 28 May 2019 21:29
by johndk
Awesome, it works!
Testing all of the Control Panel items on Win 10, the only breakage I found was that "Fonts" would open "Documents" instead of "Control Panel\All Control Panel Items\Fonts". You might want to just add a note telling users that if they run into this, just browse directly to "Control Panel\All Control Panel Items\Fonts" (no quotes) in the Control Panel window or another File Explorer window.
Thanks very much. I'm pretty sure I'm going to register this product after just a bit more testing.
Re: UNC path from Run dialog opens in File Explorer
Posted: 28 May 2019 21:33
by admin
Cool that it works for you!
BTW, I don't document tweaks, else they would be features. And this one is rather a hack than a tweak. I hesitate even to talk about it...

Thanks for the tip anyway!

Re: UNC path from Run dialog opens in File Explorer
Posted: 04 Jun 2019 02:41
by johndk
Argh... it also breaks the Recycling Bin when opened from outside XYplorer.
Re: UNC path from Run dialog opens in File Explorer
Posted: 04 Jun 2019 12:16
by admin
Will be fixed in next beta.

Re: UNC path from Run dialog opens in File Explorer
Posted: 04 Jun 2019 14:20
by johndk
Wow, thanks!
Re: UNC path from Run dialog opens in File Explorer
Posted: 05 Jun 2019 18:12
by johndk
Ack... it also breaks the System control panel (which I usually open with Alt+Pause/Break). Do you know if that will be fixed in the next beta also?
I think in the meantime I need to disable that tweak.