Difference in file list export results - GUI vs command line

Found a bug in "Everything"? report it here
akk
Posts: 4
Joined: Sun Aug 31, 2025 7:33 pm

Difference in file list export results - GUI vs command line

Post by akk »

Difference in file list export results - GUI vs command line
Portable version 1.4 and 1.5

Result from GUI - 316250 lines. (CTRL + S)
Result from CLI - 1921195 lines. (everything.exe -create-file-list .\offline\A.efu C:\)
void
Developer
Posts: 19899
Joined: Fri Oct 16, 2009 11:31 pm

Re: Difference in file list export results - GUI vs command line

Post by void »

Thanks for the file lists.
Result from GUI - 316250 lines. (CTRL + S)
Everything GUI exports only files/folders from your index.

ES will give the same results.


Result from CLI - 1921195 lines. (everything.exe -create-file-list .\offline\A.efu C:\)
everything.exe -create-file-list will go to disk to gather filenames.
This method of gathering filenames is different to how Everything indexes.

The most important note here is everything.exe -create-file-list will follow folder junctions where-as indexing does not follow folder junctions.

There is an issue with the following folder:

"C:\Documents and Settings\All Users\Application Data\Application Data"

This folder redirects to "C:\Documents and Settings\All Users\Application Data"

This is a circular reference.
Everything will stop scanning folders deeper than 64 levels.
akk
Posts: 4
Joined: Sun Aug 31, 2025 7:33 pm

Re: Difference in file list export results - GUI vs command line

Post by akk »

Ok.
How can I get a clean list of files via command line?
On another computer the report is collected correctly.
void
Developer
Posts: 19899
Joined: Fri Oct 16, 2009 11:31 pm

Re: Difference in file list export results - GUI vs command line

Post by void »

You'll have to fix the circular folder reference as this is not normal.

Please make sure you are running a command prompt with limited privileges (not as an admin)
Please try under a different user profile.

-or-

Exclude the
C:\Documents and Settings\All Users
path from your -create-filelist:

everything.exe -create-file-list .\offline\A.efu C:\ -create-file-list-exclude-folders "C:\Documents and Settings\All Users"
akk
Posts: 4
Joined: Sun Aug 31, 2025 7:33 pm

Re: Difference in file list export results - GUI vs command line

Post by akk »

I used "RunWithRestrictedRights"

The less rights, the better :)
Thanks!
therube
Posts: 5727
Joined: Thu Sep 03, 2009 6:48 pm

Re: Difference in file list export results - GUI vs command line

Post by therube »

Is that, this, RunWithRestrictedRights.exe ?

I take it that your normal (Windows) User account, ahk (or whatever it may be), does run with Administrative privileges (rather then with "Standard" user privileges?
horst.epp
Posts: 1643
Joined: Fri Apr 04, 2014 3:24 pm

Re: Difference in file list export results - GUI vs command line

Post by horst.epp »

akk wrote: Mon Sep 01, 2025 11:22 am I used "RunWithRestrictedRights"

The less rights, the better :)
Thanks!
This is intended to run tools from an enhanced process.
Not necessary for Everything.
Running the service and there is no Everything enhanced client.
akk
Posts: 4
Joined: Sun Aug 31, 2025 7:33 pm

Re: Difference in file list export results - GUI vs command line

Post by akk »

I use Everything in LiveUSB version of Windows. All processes started with administrator rights...