Newbie question (searching for two names in a file/dirname)

English support forum

Moderators: Hacker, petermad, Stefan2, white

klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Newbie question (searching for two names in a file/dirname)

Post by *klappa »

I am getting frantic! How can i search for ex. two words that are present in a file/dirname?

Searching for Britney Spears doesn't come up with any results instead i have to search for Britney only. Do i have to use a comma or something?

And the helpfile in TC doesn't explain it in detail at all.

Newbie sorry!

Worse yet, if the dirname for ex. contains underscores between the names and such it makes it even harder...

Thanks in advance!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

W/o regex:

To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.

Same using regex ('regex' checkbox must be checked):

To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.

Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
klappa
Junior Member
Junior Member
Posts: 77
Joined: 2008-07-23, 12:27 UTC

Post by *klappa »

MVV wrote:W/o regex:

To find names with Britney or Spears just type *Britney* *Spears* w/o any quotes (asterisks before and after tell that any characters may be in filename before and after word).
To find names with exact string Britney Spears type this string in double quotes: "*Britney Spears*".
To find names with both Britney and Spears but with any single character between words type *Britney?Spears*.
To find names with both Britney and Spears but with any characters between words type *Britney*Spears*.

Same using regex ('regex' checkbox must be checked):

To find names with Britney or Spears just type Britney|Spears w/o any quotes.
To find names with exact string Britney Spears type it: Britney Spears.
To find names with both Britney and Spears but with any single character between words type Britney.Spears.
To find names with both Britney and Spears but with any characters between words type Britney.*Spears.
To find names with Britney Spears or Britney_Spears type Britney[ _]Spears.

Also press F1 in search dialog to get help topic about searching - and there will be link to page that describes regex syntax.
Very thanks! You helped me alot!
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@MVV:
Should we be looking for Britney Spears files on our computers?
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

None of the mentioned methods finds a single file with "Britney Spears" on my computer. :(

What am i doing wrong?

:wink:
Holger
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

NO Britney Spears? Ah, very good. That shows you are a person of great taste and discernment and wil surely have a place reserved in Heaven for when you are finally uninstalled and securely deleted.

Btw, any Paris Hilton? :wink:
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

I don't find her either.
Only something like "Free Man In Paris.mp3" and "Testament - Paris - 2008-11-26"
:wink:
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think if you wanna to find Britney on your computers someone should put it there before. :D
BTW discussion about putting Brintey into your computers is a bit off-topic here. :D
User avatar
ehab
Senior Member
Senior Member
Posts: 271
Joined: 2007-10-29, 07:41 UTC
Location: Libya

Post by *ehab »

thanks MVV i will never miss a Brintey file again : D
#181344 Personal licence
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

To stay off-topic:
Is a brint eye something like this?

Than i can confirm that i finally found a photo of a brintey on my computer. :wink:

Thanks to all
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ehab wrote:thanks MVV i will never miss a Brintey file again : D
Topic starter said that he wanted to find Britney on his computer, so I wrote how he can do it using same example.
User avatar
GammelBert
Member
Member
Posts: 109
Joined: 2007-02-21, 18:42 UTC
Location: Germany

Post by *GammelBert »

OK, now that we can find her name, how can we find her phone number? :-)
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Google Search: "britney spears" "total commander"
About 70,700 results (0.14 seconds)

But we're number one!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

GammelBert wrote:OK, now that we can find her name, how can we find her phone number? :-)
Just google it, or ask her via e-mail. :D
gt
New Member
New Member
Posts: 1
Joined: 2010-10-08, 10:12 UTC

Post by *gt »

I have a somewhat related question.
Is there a simple way to search the contents of files through the "Find Files" dialog for several keywords simultaneously? I found no AND operator or similar in the documentation. And I don't think it can be done using a regexp query either.

For example I would fill the Find Files dialog like this:

Search for: *
[x] Find text: Britney AND Spears

And I would expect it to return a list of files that contain BOTH words "Britney" and "Spears" anywhere in the file text regardless of order.
How do I achieve that?
Post Reply