[β] Everything in XYplorer — Rev. 0.96 / 2014/07/24

Discuss and share scripts and script files...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by admin »

I searched all *.txt files and found 172.865 (!). Well, it took about 20 seconds and XY did not crash. All fine. I just wonder what happens when I search for * ... :whistle: I currently don't have the nerve to try. Is there some way to limit the returns of ET?

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

Of course it works :mrgreen:
Jokes aside, thanks for confirming. As you know, sometimes things work ok on your system and then fail miserably on other computers due to stupid mistakes or, worse, huge core errors. I pretty much tested this enough with weird queries, but strength is numbers this time :)
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

admin wrote:Is there some way to limit the returns of ET?
Sure, you can limit by path, size, attributes, date.
But, in order to not lose the speed advantage given by the MFT, the order of filters matters: first the info directly available in the MFT, and then the ones that require per-file scanning.

EDIT: a little syntax summary, http://forum.voidtools.com/viewtopic.ph ... 14dc0e6ecd

EDIT2: for those working under a limited account (like me). You might get, for certain queries, a different number of results between ET and XY. This is caused by the different ways the two applications work.
ET filters the MFT, which contains ALL the files on the system (technically, all the files on the NTFS volumes you told to monitor).
XY picks the output list of ET and then gets the necessary info to fill the List for each file, using "normal" shell API with limited privilege level. Files that are not reachable due to restrictive ACLs are not listed, UNLESS "Allow Zombie" is ON (you'll still get incomplete info for them, like 0 byte file size).
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by admin »

OK, cool. But there does not seem to be a way to limit the results by number (e.g. show the first 1,000 hits). Like a safety belt. Since you cannot stop a search once it is running, right?

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

I understand. No, you can't stop a running search.
But looks like there's a (modified?) version of es.exe that does this: http://forum.voidtools.com/viewtopic.ph ... afc28#p562 , http://forum.voidtools.com/viewtopic.ph ... afc28#p561
I haven't tested it yet tho.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by binocular222 »

Code: Select all

es.exe -h
says this:

Code: Select all

-n <num> limit the amount of results shown to <num>
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

:oops: Shame on me :oops: :bug:
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by yusef88 »

doesn't work?

Code: Select all

 $path = "C:\Program Files\Everything\es.exe\";
Attachments
2.png
2.png (27.3 KiB) Viewed 4344 times
1.png
1.png (21.19 KiB) Viewed 4344 times

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

Path should be

Code: Select all

 $path = "C:\Program Files\Everything\";
Moreover, are you using at least 14.20.0305? I haven't tested on XP and can't do so, there could be the remote chance that chcp 65001 doesn't work on XP.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by yusef88 »

xy 14.20.0307 seems there is no chance with xp..thanks

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

Mmh... does Everything work ok if you call it "normally"?
And what do the following

Code: Select all

chcp
and

Code: Select all

chcp 65001
in a command prompt opened via Win+R > cmd ?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

I can write to David and ask to add an output switch to es, but first I'd like to be sure that there are no other possible clean solutions on XP. Can someone confirm that on XP it doesn't work?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by binocular222 »

I have no XP here but maybe we can try different chcp:
65001 – UTF-8
1200 – UTF-16LE
1201 – UTF-16BE
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by admin »

Marco wrote:I can write to David and ask to add an output switch to es, but first I'd like to be sure that there are no other possible clean solutions on XP. Can someone confirm that on XP it doesn't work?
I cannot imagine that this should be a problem under XP. This is all very basic console stuff.

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: [Coming soon] Everything in XYplorer — Rev. 1.00 / 2014/

Post by Marco »

@binocular222: both 1200 and 1201 appear to be invalid codepages here, so I have to stick to 65001/utf8
@Don: I share the same doubt.

I just took a closer look at those screenshots: the problem seems to be at line 6, where the variable <xypaper> isn't expanded. Weird...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply