Search query to exclude foldername from the list

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Zygus
Junior Member
Junior Member
Posts: 37
Joined: 2013-02-23, 17:51 UTC

Search query to exclude foldername from the list

Post by *Zygus »

I need to find all files/folders contained password word except folders with name *\PasswordDialog_<some digits and letters>.
These folders are present in different places of directories.

I tried:
*password*.*|*PasswordDialog_*
*password*.*|*\PasswordDialog_*
*password*.*|*\PasswordDialog_*\
*password*.*|*PasswordDialog_*\

but it still finds these folders.
Is my query wrong typed?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Try this:
*password*.*|PasswordDialog_*\
#5767 Personal license
Zygus
Junior Member
Junior Member
Posts: 37
Joined: 2013-02-23, 17:51 UTC

Post by *Zygus »

*password*.*|PasswordDialog_*\
didn't help. PasswordDialog_*\ is the last folder in many branches of dir tree.

Well, what helped was not using wildcard in folder name.
*password*.*|PasswordDialog_UserLevel_5_13_40
doesn't show this folders anymore but there are other PasswordDialog_* so it is not solution to give a name without wildcard.
Maybe the * wildcard is wrong here after AND NOT, but it is working for *.excludeext.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Well, then you might try

Code: Select all

*password*.*|PasswordDialog_
as long as no files with such names exist that you intend to find (or limit the search to directories, so that wouldn't be an issue).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply