Page 1 of 1
Recycle bin slow opening
Posted: 04 Feb 2016 15:25
by Hadden
(Actually I don't think it's a bug. I'm on win10 x64)
When I open recycle bin, xyexplorer hangs and crash.
I've to say there are a lot of elements there (12.000+) and probably crash due an illegal character in some file.
It hangs at "analyze recycle bin". Tried to open both from tree and address bar. Does the same.
As a workaround I thought to create a custom button to launch (only) recycle bin in explorer and hide bin from the tree.
A tip how to quickly make a custom button which point to explorer recycle bin?

Re: Recycle bin crash
Posted: 04 Feb 2016 15:29
by highend
Use
Code: Select all
run "explorer ::{645FF040-5081-101B-9F08-00AA002F954E}", "<curpath>";
for the "On left click" field
Re: Recycle bin crash
Posted: 04 Feb 2016 15:32
by admin
"illegal character in some file..." never heard of illegal characters crashing XY. What do you mean by "illegal character"?
Is this really a crash, or a hang, or are you just impatient?

Re: Recycle bin crash
Posted: 04 Feb 2016 15:37
by Hadden
highend wrote:Use
Code: Select all
run "explorer ::{645FF040-5081-101B-9F08-00AA002F954E}", "<curpath>";
for the "On left click" field
Thanks, in address bar, the code launch recycle bin perfectly.
How to add in toolbar and what you mean with "one left click field"?
admin wrote:"illegal character in some file..." never heard of illegal characters crashing XY. What do you mean by "illegal character"?
Is this really a crash, or a hang, or are you just impatient?

Ok, maybe I'm also a bit impatient too but I think it's (very) strange the bin is "faster" in plain explorer. I'll try to wait more also. I meant, maybe some character in filename who hangs xyexplorer, but you are confiming I'm wrong XD
*EDIT*
Ok, I retire the "bug accusation" and I accuse myself being impatient XD
It works but slowly (more than 30 sec for opening it) so I'll put a link for bin explorer in toolbar

Re: Recycle bin crash
Posted: 04 Feb 2016 15:42
by highend
Add a button to the toolbar, configure it and you'll see what is meant with "On left click" field
Re: Recycle bin slow opening
Posted: 04 Feb 2016 15:46
by Hadden
highend wrote:Add a button to the toolbar, configure it and you'll see what is meant with "On left click" field
Ok, sorry, this was really a silly question XD
In the icon path what I put to point shell32.dll bin icon?
Can I use "C:\Windows\System32\shell32.dll, 33" or should I extract the icon in xyexplorer folder?
Re: Recycle bin slow opening
Posted: 04 Feb 2016 16:02
by highend
You can't.
Export that icon and put it in the <xyicons> folder so you can use the short form for the name afterwards (like Bin.ico) without the full path
Re: Recycle bin slow opening
Posted: 04 Feb 2016 16:20
by TheQwerty
You can specify an embedded icon's index by using '<file> /<idx>':
Code: Select all
C:\Windows\System32\shell32.dll /33
%winsysdir%\shell32.dll /33
%winsysnative%\shell32.dll /33
All work. They do point to two different DLLs on 64-bit systems, but in this case that doesn't seem to matter.
Re: Recycle bin slow opening
Posted: 04 Feb 2016 16:22
by highend
That's missing in the help file for Custom Toolbar Buttons

Re: Recycle bin slow opening
Posted: 04 Feb 2016 16:24
by admin
I did not know that this works.

Re: Recycle bin slow opening
Posted: 04 Feb 2016 16:49
by PeterH
admin wrote:I did not know that this works.

Hey:
that's fine

Re: Recycle bin slow opening
Posted: 04 Feb 2016 17:35
by TheQwerty
Trying to find a reminder of what the pattern was actually proved rather difficult.
I couldn't find any reference to it in history.txt nor in the help under CFI, UDC, or Catalog.
Finally under Scripting's caption/icon section there was
at least an example.
I'm now curious if it's been documented anywhere.

Re: Recycle bin slow opening
Posted: 04 Feb 2016 18:12
by bdeshi
admin wrote:I did not know that this works.

TheQwerty wrote:Trying to find a reminder of what the pattern was actually proved rather difficult.
What? Didn't read
this? 
Re: Recycle bin slow opening
Posted: 04 Feb 2016 18:21
by TheQwerty
SammaySarkar wrote:What? Didn't read
this? 
Sure I read that... last year!
And again today when I finally gave up and searched the forums. 
Re: Recycle bin slow opening
Posted: 05 Feb 2016 22:02
by Hadden
TheQwerty wrote:You can specify an embedded icon's index by using '<file> /<idx>':
Code: Select all
C:\Windows\System32\shell32.dll /33
%winsysdir%\shell32.dll /33
%winsysnative%\shell32.dll /33
All work. They do point to two different DLLs on 64-bit systems, but in this case that doesn't seem to matter.
They works, thanks! ^^ (Used the first)