Page 1 of 2
A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 14:50
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.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:01
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?
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:12
by anandinasu
Thank you for the response.
Yes, that is true. Double click and VS Code opens up.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:17
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]
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:19
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.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:22
by highend
Again, show the entries
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:30
by anandinasu
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 15:50
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?
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 16:30
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.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 16:43
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.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 16:56
by highend
And do a reboot after fixing those problems...
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 17:45
by anandinasu
Hai,
Yes I fixed the issues and rebooted but the behavior is still the same!! Double-clicking opens VS Code.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 17:52
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?
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 18:39
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.
Re: A software opening instead of the folder when XYPlorer is set as the default file manager
Posted: 05 Oct 2021 18:52
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