Page 2 of 11

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

Posted: 02 Jul 2014 16:16
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?

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

Posted: 02 Jul 2014 16:19
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 :)

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

Posted: 02 Jul 2014 16:21
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).

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

Posted: 02 Jul 2014 17:13
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?

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

Posted: 02 Jul 2014 17:20
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.

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

Posted: 02 Jul 2014 18:00
by binocular222

Code: Select all

es.exe -h
says this:

Code: Select all

-n <num> limit the amount of results shown to <num>

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

Posted: 02 Jul 2014 18:04
by Marco
:oops: Shame on me :oops: :bug:

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

Posted: 02 Jul 2014 22:03
by yusef88
doesn't work?

Code: Select all

 $path = "C:\Program Files\Everything\es.exe\";

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

Posted: 02 Jul 2014 23:47
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.

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

Posted: 03 Jul 2014 00:21
by yusef88
xy 14.20.0307 seems there is no chance with xp..thanks

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

Posted: 03 Jul 2014 10:47
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 ?

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

Posted: 03 Jul 2014 16:20
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?

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

Posted: 03 Jul 2014 16:38
by binocular222
I have no XP here but maybe we can try different chcp:
65001 – UTF-8
1200 – UTF-16LE
1201 – UTF-16BE

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

Posted: 03 Jul 2014 16:58
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.

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

Posted: 03 Jul 2014 17:19
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...