UNC path from Run dialog opens in File Explorer

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
johndk
Posts: 30
Joined: 23 May 2019 04:55

UNC path from Run dialog opens in File Explorer

Post 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!

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post 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

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer (and "\\?\" paths are completely broken)

Post 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

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post 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.

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post by johndk »

Okay great. The "\\?\" paths aren't an issue for me, but will be great when the \\server issue is fixed.

Thanks!

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post 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...

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post 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).

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post by johndk »

Awesome, thanks! I'll check it out.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post by admin »


johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post by admin »

Cool that it works for you! :beer:

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... :ghost: Thanks for the tip anyway! :)

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post by johndk »

Argh... it also breaks the Recycling Bin when opened from outside XYplorer.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: UNC path from Run dialog opens in File Explorer

Post by admin »

Will be fixed in next beta. :)

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post by johndk »

Wow, thanks!

johndk
Posts: 30
Joined: 23 May 2019 04:55

Re: UNC path from Run dialog opens in File Explorer

Post 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.

Post Reply