Page 2 of 2

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 11:46
by ashballan
Done:

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 11:53
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:"

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:06
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..

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:15
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!?

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:25
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

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:36
by ashballan
Both the same:

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:40
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...

Re: XYPlorer not opening My Documents folders properly..

Posted: 13 Aug 2015 12:41
by ashballan
Thanks, appreciate it..

Re: XYPlorer not opening My Documents folders properly..

Posted: 14 Aug 2015 19:06
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!

Re: XYPlorer not opening My Documents folders properly..

Posted: 15 Aug 2015 11:48
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?

Re: XYPlorer not opening My Documents folders properly..

Posted: 15 Aug 2015 11:52
by admin
Ah, XYplorer was already running! Sorry, had a black-out. :ninja:

Will check issue later.

Re: XYPlorer not opening My Documents folders properly..

Posted: 15 Aug 2015 20:40
by admin
OK, checked it: Works alright here. Well. :|