How could search the folder but not search its subfolder?

General discussion related to "Everything".
Post Reply
sirliu
Posts: 15
Joined: Wed Jan 30, 2013 11:05 am

How could search the folder but not search its subfolder?

Post by sirliu »

How could I just search the specified folder but not search its subfolder?
void
Developer
Posts: 16759
Joined: Fri Oct 16, 2009 11:31 pm

Re: How could search the folder but not search its subfolder

Post by void »

Example, search the folder c:\abc with no subfolders

Code: Select all

c:\abc !c:\abc\*\*
WanderMax
Posts: 29
Joined: Thu Jan 10, 2013 4:31 pm

Re: How could search the folder but not search its subfolder

Post by WanderMax »

void wrote:Example, search the folder c:\abc with no subfolders

Code: Select all

c:\abc !c:\abc\*\*
In the filter,how to add a filter to search file but not folder??
how to add except item?
void
Developer
Posts: 16759
Joined: Fri Oct 16, 2009 11:31 pm

Re: How could search the folder but not search its subfolder

Post by void »

To search only files, use the file: modifier:

Code: Select all

file:
To make a filter for files only:
  • From the Search menu, from the Filters submenu, click Add to filters.
  • Give the filter a name, for example Files only.
  • Change the search to:

    Code: Select all

    file:
  • Click OK.
sirliu
Posts: 15
Joined: Wed Jan 30, 2013 11:05 am

Re: How could search the folder but not search its subfolder

Post by sirliu »

void wrote:Example, search the folder c:\abc with no subfolders

Code: Select all

c:\abc !c:\abc\*\*
Oh,I see,THX!
Post Reply