How to search only files in a specific folder

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
rando
Posts: 52
Joined: Fri Jul 31, 2009 3:23 pm

How to search only files in a specific folder

Post by rando » Fri Jul 31, 2009 3:26 pm

I'm trying to find out the command line parameter to find files in the root of a specific folder, but excluding the files in the subfolders of this folder.

Can anyone please help me?

David
Site Admin
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: How to search only files in a specific folder

Post by David » Mon Aug 03, 2009 9:04 am

To search for files and folders in C:\windows, but exclude all subfolders, search for:
c:\windows !c:\windows\*\*

As a command line option:
Everything.exe -search "c:\windows !c:\windows\*\*"

rando
Posts: 52
Joined: Fri Jul 31, 2009 3:23 pm

Re: How to search only files in a specific folder

Post by rando » Mon Aug 03, 2009 12:35 pm

I use this command line in TC:

-search "%P !%P\*\*"

When I click on the "D:\" directory in TC
this is what opens in Everything:
D:\ !D:\\*\*

However the search is within the subfolders (and subfolder names as well).

ah..... found it :D

I have to cancel the "\" after the second %P.
Now it works

Post Reply