A software opening instead of the folder when XYPlorer is set as the default file manager

Things you’d like to miss in the future...
anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Hello there,

I am running into a weird issue that I am not able to figure out. I have VS Code and XYplorer installed. After I set XYplorer as the default file manager through XYPlorer settings, when I click on a folder, VS Code is opening up. Any idea why this might be happening? I think some registry keys got messed up. May I know where the registry key used for setting default file manager is located?

Thank You.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

Code: Select all

Current user
============
[HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command]
[HKEY_CURRENT_USER\Software\Classes\Drive\Shell\XYplorer\Command]

All users
=========
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell\XYplorer\Command]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Shell\XYplorer\Command]
You double left click onto a folder in the list pane of XYplorer and VSCode opens up?
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Thank you for the response.

Yes, that is true. Double click and VS Code opens up.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

Show the entries for both paths

Code: Select all

[HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell\XYplorer\Command]
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Wait. I am sorry, that is wrong. Not in the XYplorer pane. Outside, say E.g. Desktop. When you set XYplorer as the default file manager, when I click on a folder on the desktop, XYplorer is supposed to open up right? Instead, VSCode is opening.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

Again, show the entries
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

So I guess the HKEY_LOCAL_MACHINE path does not exist for XYplorer?

What happens when you remove XYplorer via unticking (for the current user scope):
Configuration | Other | Shell Integration | Default File Manager | XYplorer is default file manager

Does it still open VSCode when double clicking on a folder on the desktop?
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

So I guess the HKEY_LOCAL_MACHINE path does not exist for XYplorer?
Yes that is correct
Does it still open VSCode when double clicking on a folder on the desktop?
No. Then the explorer window opens up as usual. Only when I set XYplorer as the default manager, I am facing this issue.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Hello there,

I am seeing some weird behavior on my system right now. Let me fix certain things and get back to you. Thanks a lot for your response.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

And do a reboot after fixing those problems...
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Hai,

Yes I fixed the issues and rebooted but the behavior is still the same!! Double-clicking opens VS Code.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

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

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by highend »

Doesn't make sense to me...

Configuration | General | Custom Event Actions

Is there any "Run script" action defined for the "Clicking on Items" events?
One of my scripts helped you out? Please donate via Paypal

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Nope: https://ibb.co/sFYtHmv

I am not sure whether I am conveying the problem correctly. I am not inside XYplorer. I am at the Desktop and when I click a folder, instead of XYplorer opening up, VS Code is opening up.

Also, ```HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Shell\XYplorer``` is to add XYplorer to the context menu right? But when I check the button for "XYplorer is default file manager", something more apart from the Shell\XYplorer, must be written to the registry key right? Where is that written? In another way, when you double click on any folder on Windows, there must be an entry in the registry key to tell the OS to use explorer.exe or xyplorer.exe. Where is that entry? Maybe, somehow, I have no clue how, but maybe vscode path is present there.
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

anandinasu
Posts: 15
Joined: 05 Oct 2021 14:43

Re: A software opening instead of the folder when XYPlorer is set as the default file manager

Post by anandinasu »

Yes, the issue is that OS is somehow not able to find XYplorer. I set XYplorer as the default file manager and I removed VS Code from its location and when I left double-clicked on the folder on the desktop, I am getting "Application not found error"

Something I forgot to mention in the beginning. I am using XYplorere 22.30
Windows 10.0.19043 Build 19043
XYplorer Portable v22.30.0100
Everything v1.4.1.1005 (x64)

Post Reply