Recycle bin slow opening

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Hadden
Posts: 13
Joined: 03 Feb 2016 15:51

Recycle bin slow opening

Post 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? :)
Last edited by Hadden on 04 Feb 2016 15:53, edited 1 time in total.

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

Re: Recycle bin crash

Post by highend »

Use

Code: Select all

run "explorer ::{645FF040-5081-101B-9F08-00AA002F954E}", "<curpath>";
for the "On left click" field
One of my scripts helped you out? Please donate via Paypal

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

Re: Recycle bin crash

Post 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? ;)

Hadden
Posts: 13
Joined: 03 Feb 2016 15:51

Re: Recycle bin crash

Post 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"? :kidding:
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 ;)
Last edited by Hadden on 04 Feb 2016 15:42, edited 1 time in total.

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

Re: Recycle bin crash

Post by highend »

Add a button to the toolbar, configure it and you'll see what is meant with "On left click" field
One of my scripts helped you out? Please donate via Paypal

Hadden
Posts: 13
Joined: 03 Feb 2016 15:51

Re: Recycle bin slow opening

Post 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?

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

Re: Recycle bin slow opening

Post 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
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Recycle bin slow opening

Post 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.

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

Re: Recycle bin slow opening

Post by highend »

That's missing in the help file for Custom Toolbar Buttons :)
One of my scripts helped you out? Please donate via Paypal

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

Re: Recycle bin slow opening

Post by admin »

I did not know that this works. :) :beer:

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Recycle bin slow opening

Post by PeterH »

admin wrote:I did not know that this works. :) :beer:
Hey: that's fine :lol:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Recycle bin slow opening

Post 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.
:veryconfused:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Recycle bin slow opening

Post by bdeshi »

admin wrote:I did not know that this works. :) :beer:
TheQwerty wrote:Trying to find a reminder of what the pattern was actually proved rather difficult.
What? Didn't read this? 8)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Recycle bin slow opening

Post by TheQwerty »

SammaySarkar wrote:What? Didn't read this? 8)
Sure I read that... last year! :P

And again today when I finally gave up and searched the forums. ;)

Hadden
Posts: 13
Joined: 03 Feb 2016 15:51

Re: Recycle bin slow opening

Post 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)

Post Reply