XYPlorer not opening My Documents folders properly..

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".
ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

Done:
To see the attached files, you need to log into the forum.

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

Re: XYPlorer not opening My Documents folders properly..

Post by highend »

Somehow your %personal% variable isn't resolved correctly.

E.g. if I change
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Personal
to
D:\Temp

than on my system XY resolves %personal% to "Temp" and not to "D:"
One of my scripts helped you out? Please donate via Paypal

ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

Thanks for pin-pointing the issue.. really appreciate it. But is there a solution for this? Like I mentioned, this started happening recently. I even reinstalled/downgraded to v15.2 when I first bought the license thinking maybe it's a bug but the same issue persists.

How does xyplorer set environment variables? Is there a way to force setting a variable?

Thanks..

ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

OK, you're not going to believe this:
I modified "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal" from D:\My Docs to D:\MyDocs and xyplorer opens the folder correctly. Then I modified it to "D:\My Docs" with quotations and xyplorer likes it and opens folders properly. Going back to D:\My Docs without quotations and with that space causes xyplorer to throw-up!!

Man, what's going on here!?

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

Re: XYPlorer not opening My Documents folders properly..

Post by highend »

It breaks on paths with spaces...

regedit again.

Show me the content of HKEY_CURRENT_USER\Software\Classes\Directory\Shell\XYplorer\Command
Show me the content of HKEY_CURRENT_USER\Software\Classes\Drive\Shell\XYplorer\Command
One of my scripts helped you out? Please donate via Paypal

ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

Both the same:
To see the attached files, you need to log into the forum.

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

Re: XYPlorer not opening My Documents folders properly..

Post by highend »

Those entries are ok. I've just tried it under Win 7 x64 (VM) and it works fine even with a space in the path ("C:\My Documents"). %personal% resolves to "My Documents", not to "C:". Give Don some time...
One of my scripts helped you out? Please donate via Paypal

ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

Thanks, appreciate it..

ashballan
Posts: 15
Joined: 11 Aug 2015 17:02

Re: XYPlorer not opening My Documents folders properly..

Post by ashballan »

So modifying "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal" to "D:\My Docs" wasn't a good idea. Although it gave xyplorer what it was looking for but Windows blows-up and can't find my documents anymore.. not a good idea at all. So now I'm stuck, I either get xyplorer working and break Windows or the other way around..

Whoever's working on this please do find a solution soon!

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

Re: XYPlorer not opening My Documents folders properly..

Post by highend »

Don, it seems it's absolutely normal that opening a folder from inside Windows Explorer leads to the CopyData entry

ashballan posted:
Command:
CommandW:
Command Normalized:
CopyData: "D:\My Audio Books"
Test setup:
XY -> C:\Program Files (x86)\XYplorer) | latest beta, fresh installation
Windows 7 SP1 x64, German in a VM, untouched installation

Settings:
Other - Shell Integration
Scope: Only for the current user
[x] XYplorer in shell context menu
[x] XYplorer is default file manager

Moved the documents folder to D:\My Docs (via the path tab entry in the properties)
Created the folder: My Audio Books inside D:\My Docs

When I open that folder from WE, "Various Information" shows this:
Command:
CommandW:
Command Normalized:
CopyData: "My Docs\My Audio Books"
XYplorer was already running, therefore the first three entries are empty.

The only difference: XYplorer opens that folder correctly on the test VM

Environment Variables:
%personal% = My Docs
%personalreal% = D:\My Docs

@ashballan
I'm sorry but it works as it should. It seems there is something wrong with your OS (setup).
Maybe an installed shell extension...

Did you try to untick:
Configuration > Shell Integration > Default File Manager > XYplorer is default file manager
Configuration > Shell Integration > Default File Manager > XYplorer in shell context menu

Save settings, restart XY, check both again and try again?
One of my scripts helped you out? Please donate via Paypal

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

Re: XYPlorer not opening My Documents folders properly..

Post by admin »

Ah, XYplorer was already running! Sorry, had a black-out. :ninja:

Will check issue later.

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

Re: XYPlorer not opening My Documents folders properly..

Post by admin »

OK, checked it: Works alright here. Well. :|

Post Reply