# File search in XP

**URL:** <https://boards.straightdope.com/t/file-search-in-xp/154328>\
**Category:** Factual Questions\
**Created:** [February 11, 2003, 11:21am UTC](https://boards.straightdope.com/t/file-search-in-xp/154328 "2003-02-11T11:21:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ticker](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@ticker](https://boards.straightdope.com/u/ticker)\
**Post date:** [February 11, 2003, 11:21am UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/1 "2003-02-11T11:21:38Z")

</div>

I recently moved from Windows NT4 to XP (missed out on 2000) and I find that the File Search facility from Explorer does not seem to work as I am used to.

I used to find the option to look for files containing a given string very useful on occaision. Now when I use the ‘A word or phrase in the file’ box it seems to use this as an additional filename test and does not perform the primitive ‘grep’ like search I want.

All I want to do is search through a bunch of folders for any file with the ‘.e’ extension and the term ‘business\_id’ in the text. Is there some option I am too thick to notice?

---

<div class="post-metadata">

**Author:** ![Zagadka](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zagadka/32/7272_2.png) [@Zagadka](https://boards.straightdope.com/u/Zagadka)\
**Post date:** [February 11, 2003, 11:26am UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/2 "2003-02-11T11:26:20Z")

</div>

_looks at the XP search window_

Erm, I’m not exactly sure what you are referring to. My seach window is layed out:

> [@](#):
>
> Search by any or all of the criteria below:
> 
> All or part of the file name:
> 
> A word or phrase in the file:
> 
> Look in:
> 
> (Search)

It seems pretty self-explanatory to do what you want… maybe you have to turn off all of the fancier UI (and that stupid and pointless animated dog O\_o) in the search preferences?

---

<div class="post-metadata">

**Author:** ![ticker](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@ticker](https://boards.straightdope.com/u/ticker)\
**Post date:** [February 11, 2003, 11:55am UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/3 "2003-02-11T11:55:40Z")

</div>

It does seem self explanatory doesn’t it? Such a shame it does not work ☹

My guess is that it is using some fiendish scheme to decide how to do the search because it is fine with ‘.doc’ and ‘.txt’ files but not with my ‘.e’ files.

Does anybody know how to get it to do a simple grep-like search?

Sometimes you can be too clever.

---

<div class="post-metadata">

**Author:** ![vertigo](https://avatars.discourse-cdn.com/v4/letter/v/3ec8ea/32.png) [@vertigo](https://boards.straightdope.com/u/vertigo)\
**Post date:** [February 11, 2003, 12:06pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/4 "2003-02-11T12:06:54Z")

</div>

Do you have to index a drive before using this feature, much like “updatedb” in Unix? I dunno, I use a Mac mostly.

---

<div class="post-metadata">

**Author:** ![ticker](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@ticker](https://boards.straightdope.com/u/ticker)\
**Post date:** [February 11, 2003, 12:32pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/5 "2003-02-11T12:32:56Z")

</div>

Thanks **vertigo** , although you don’t need to index your files for searching, that was the key to my finding the solution 🙂

The secret is to configure indexing to index all file types, not just the ones it knows about. You don’t have to use indexing (uses up disk space and not much use if your files are very volatile), just configure it.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [February 11, 2003, 12:35pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/6 "2003-02-11T12:35:38Z")

</div>

You turned off the cartoon search dog the first time you saw it, didn’t you? On doing this, were you as annoyed as I was to see it stroll slowly away into the distance, instead of just disappearing?

---

<div class="post-metadata">

**Author:** ![ticker](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@ticker](https://boards.straightdope.com/u/ticker)\
**Post date:** [February 11, 2003, 12:51pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/7 "2003-02-11T12:51:16Z")

</div>

> [@](#):
>
> \*Originally posted by Mangetout \*  
> \*\*You turned off the cartoon search dog the first time you saw it, didn’t you? On doing this, were you as annoyed as I was to see it stroll slowly away into the distance, instead of just disappearing? \*\*

I don’t remember, so I turned it back on and off again, just so I could get annoyed all over again.

---

<div class="post-metadata">

**Author:** ![Zagadka](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zagadka/32/7272_2.png) [@Zagadka](https://boards.straightdope.com/u/Zagadka)\
**Post date:** [February 11, 2003, 1:00pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/8 "2003-02-11T13:00:48Z")

</div>

> [@](#):
>
> \*Originally posted by Mangetout \*  
> \*\*You turned off the cartoon search dog the first time you saw it, didn’t you? On doing this, were you as annoyed as I was to see it stroll slowly away into the distance, instead of just disappearing? \*\*

I remember being upset that it didn’t explode or have an anvil drop on it.

---

<div class="post-metadata">

**Author:** ![kanicbird](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@kanicbird](https://boards.straightdope.com/u/kanicbird)\
**Post date:** [February 11, 2003, 1:02pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/9 "2003-02-11T13:02:50Z")

</div>

Try  
\*.e  
or  
_.e_  
or  
\*.e??

---

<div class="post-metadata">

**Author:** ![scotth](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@scotth](https://boards.straightdope.com/u/scotth)\
**Post date:** [February 11, 2003, 1:09pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/10 "2003-02-11T13:09:35Z")

</div>

I’ve noticed exactly the same problem with XP. XP only finds the search string in some file types.

Since I alway have TextPad loaded on my boxes, I now use the search facilities in it.

Another thing that XP does that I don’t like in the search for text in files is that is opens and rifles through all .zip archives looking for the text. This slows thing down alot.

---

<div class="post-metadata">

**Author:** ![LordVor](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@LordVor](https://boards.straightdope.com/u/LordVor)\
**Post date:** [February 11, 2003, 3:08pm UTC](https://boards.straightdope.com/t/file-search-in-xp/154328/11 "2003-02-11T15:08:12Z")

</div>

I actually used the search dog the first time. And said “Go get it, Lycos!” after I hit enter.

-lv
