Hello,
I have a folder with a bunch of sub-folders. I would like to search this root folder to show folders that do NOT contain a specific file type in it. How would I enter this?
For example:
ROOT\
ROOT\Folder 1\
ROOT\Folder 1\Somefile.txt
ROOT\Folder 2\
ROOT\Folder 2\Someotherfile.txt
ROOT\Folder 3\
ROOT\Folder 3\Anotherfile.doc
I want a search that returns Folder 3 because I want to search for all folders that do not contain a .txt file.
Ideals?
Can I create a search filter to do this?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Can I create a search filter to do this?
E.g. via quick search:
/x = Return all folders that don't contain any matching items (reverse of switch /p)
Ofc this will return "ROOT\" as well because it doesn't contain a .txt file as well...
*.txt /x/x = Return all folders that don't contain any matching items (reverse of switch /p)
Ofc this will return "ROOT\" as well because it doesn't contain a .txt file as well...
One of my scripts helped you out? Please donate via Paypal
-
muzicman82
- Posts: 19
- Joined: 19 Dec 2019 20:48
Re: Can I create a search filter to do this?
Ahh! Super simple... Seems like the Live Filter would be different though?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Can I create a search filter to do this?
Live filter and quick search aren't the same (different syntax, different possibilities). Afaik this isn't possible via live filter
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club