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 » Wed May 08, 2013 12:07 pm

How could I just search the specified folder but not search its subfolder?

void
Site Admin
Posts: 4994
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void » Wed May 08, 2013 12:10 pm

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 » Wed May 08, 2013 12:16 pm

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
Site Admin
Posts: 4994
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void » Wed May 08, 2013 12:22 pm

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 » Wed May 08, 2013 12:23 pm

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

Code: Select all

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

Post Reply