Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista File Management > Search files by content

Reply
Thread Tools Display Modes

Search files by content

 
 
Paddy
Guest
Posts: n/a

 
      09-24-2007
I have a directory with a large number of subdirectories and files.

I wish to find all files that contain a certain search phrase (i.e. the
search phrase is not in the file name, but in the contents of the file). Most
of the files are plain ASCII text with assorted extensions.

In Windows XP, this was easy and quick; there was a place in the search
options to search on the contents.

In Vista (not as easy - why does Microsoft "fix" things that already work?),
the search finds some of the files with the search phrase, but not all of
them.

Why would Vista ignore some of the files?
 
Reply With Quote
 
 
 
 
Dave Wood [MS]
Guest
Posts: n/a

 
      09-24-2007
Vista Search will search the contents of all files which it knows what kind
of data is in the file. Just typing in the search box will do this. But if
the file has an unknown extension the contents are not searched {similarly
to in XP}. In the Indexing Control Panel you can control the search behavior
for each file type.

"Paddy" <> wrote in message
news:63CC3BA4-5AB0-467D-A259-...
>I have a directory with a large number of subdirectories and files.
>
> I wish to find all files that contain a certain search phrase (i.e. the
> search phrase is not in the file name, but in the contents of the file).
> Most
> of the files are plain ASCII text with assorted extensions.
>
> In Windows XP, this was easy and quick; there was a place in the search
> options to search on the contents.
>
> In Vista (not as easy - why does Microsoft "fix" things that already
> work?),
> the search finds some of the files with the search phrase, but not all of
> them.
>
> Why would Vista ignore some of the files?


 
Reply With Quote
 
Paddy
Guest
Posts: n/a

 
      09-24-2007
Thank you, Dave.

Your comments have allowed me to solve the problem.

Question: Is there a way to ask Vista to search only specific files, e.g.
*.xyz, for the content?
 
Reply With Quote
 
Dave Wood [MS]
Guest
Posts: n/a

 
      09-24-2007
The way I do it is by typing name:*.xyz into the search box as well as my
query words. You can also do something similar in the Advanced Search Pane.

"Paddy" <> wrote in message
news:30BBC046-0383-46BB-90F8-...
> Thank you, Dave.
>
> Your comments have allowed me to solve the problem.
>
> Question: Is there a way to ask Vista to search only specific files, e.g.
> *.xyz, for the content?


 
Reply With Quote
 
Paddy
Guest
Posts: n/a

 
      09-25-2007
Thank you, Dave. That works, but it also returns some extra files. I don't
know for what reason.
 
Reply With Quote
 
Dave Wood [MS]
Guest
Posts: n/a

 
      09-25-2007
Do the extra files contain "xyz" in the filename? Technically you can do
ext:xyz to really only match on the file extension.

"Paddy" <> wrote in message
news:3815242B-A1AE-4C08-AFB2-...
> Thank you, Dave. That works, but it also returns some extra files. I don't
> know for what reason.


 
Reply With Quote
 
Paddy
Guest
Posts: n/a

 
      09-25-2007
Cool, that works!

Thanks a ton for your help.
 
Reply With Quote
 
Teri
Guest
Posts: n/a

 
      11-07-2007
I am having same problem with file type excel files from XP. (.xls)

there are other postings with same issue - "searching based on content" ,
"file search can't find files with specified word" , "Vista Search
functionality" (this one recommends using "quotes" or putting all into
indexing - not really good solution for me), "searching for words within
documents" (this one recommends a shareware program to download that does the
trick - why should we have to do that?? Vista should do it native) , "Search
files by content".

These postings date back to September 2007 - seems this problem has been
around and isn't going away. Maybe Vista should issue patch?

Is there some trick we are all missing???????????

Thanks for all your help.


"Dave Wood [MS]" wrote:

> Vista Search will search the contents of all files which it knows what kind
> of data is in the file. Just typing in the search box will do this. But if
> the file has an unknown extension the contents are not searched {similarly
> to in XP}. In the Indexing Control Panel you can control the search behavior
> for each file type.
>
> "Paddy" <> wrote in message
> news:63CC3BA4-5AB0-467D-A259-...
> >I have a directory with a large number of subdirectories and files.
> >
> > I wish to find all files that contain a certain search phrase (i.e. the
> > search phrase is not in the file name, but in the contents of the file).
> > Most
> > of the files are plain ASCII text with assorted extensions.
> >
> > In Windows XP, this was easy and quick; there was a place in the search
> > options to search on the contents.
> >
> > In Vista (not as easy - why does Microsoft "fix" things that already
> > work?),
> > the search finds some of the files with the search phrase, but not all of
> > them.
> >
> > Why would Vista ignore some of the files?

>
>

 
Reply With Quote
 
David in Central VA
Guest
Posts: n/a

 
      12-28-2007
Dave, Where can I find the full list of parameters/syntax for Vista seach
functions?
You've offered name: ext:
I'd like to get educated.
(Why MS has decided not to put a "?" with a syntax help popup I'll never
know. And if it's in technet it must not be very well indexed - that would be
ironic.)

Thanks!

"Dave Wood [MS]" wrote:

> Do the extra files contain "xyz" in the filename? Technically you can do
> ext:xyz to really only match on the file extension.
>
> "Paddy" <> wrote in message
> news:3815242B-A1AE-4C08-AFB2-...
> > Thank you, Dave. That works, but it also returns some extra files. I don't
> > know for what reason.

>
>

 
Reply With Quote
 
thuse
Guest
Posts: n/a

 
      04-05-2008
I've found my way to the "index control panel", I think it was called in an
earlier post, by start/control panel/indexing options. When I go to the
"advanced" tab, then "file types", there is a list of extensions that are
allowed. There is also an icon on the bottom with the title "add new
extension", but it is "dimmed out", or whatever the correct term is for this
condition. That is, it is in dim hues, and does not respond to mouse picks.

I'd like to add the extension .dat to the list. How do I do so?
Thuse in LA


"Teri" wrote:

> I am having same problem with file type excel files from XP. (.xls)
>
> there are other postings with same issue - "searching based on content" ,
> "file search can't find files with specified word" , "Vista Search
> functionality" (this one recommends using "quotes" or putting all into
> indexing - not really good solution for me), "searching for words within
> documents" (this one recommends a shareware program to download that does the
> trick - why should we have to do that?? Vista should do it native) , "Search
> files by content".
>
> These postings date back to September 2007 - seems this problem has been
> around and isn't going away. Maybe Vista should issue patch?
>
> Is there some trick we are all missing???????????
>
> Thanks for all your help.
>
>
> "Dave Wood [MS]" wrote:
>
> > Vista Search will search the contents of all files which it knows what kind
> > of data is in the file. Just typing in the search box will do this. But if
> > the file has an unknown extension the contents are not searched {similarly
> > to in XP}. In the Indexing Control Panel you can control the search behavior
> > for each file type.
> >
> > "Paddy" <> wrote in message
> > news:63CC3BA4-5AB0-467D-A259-...
> > >I have a directory with a large number of subdirectories and files.
> > >
> > > I wish to find all files that contain a certain search phrase (i.e. the
> > > search phrase is not in the file name, but in the contents of the file).
> > > Most
> > > of the files are plain ASCII text with assorted extensions.
> > >
> > > In Windows XP, this was easy and quick; there was a place in the search
> > > options to search on the contents.
> > >
> > > In Vista (not as easy - why does Microsoft "fix" things that already
> > > work?),
> > > the search finds some of the files with the search phrase, but not all of
> > > them.
> > >
> > > Why would Vista ignore some of the files?

> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find WordPerfect Files (WPD's) by CONTENT on Vista [Index Search WP WPD WPDs .wpd] Brian Bradley Windows Vista File Management 8 07-29-2008 05:47 PM
Vista File Content Search of Network Drives joshlrogers Windows Vista File Management 0 04-11-2008 04:34 PM
Find WordPerfect Files (WPD's) by CONTENT on Vista [Index Search WP WPD WPDs .wpd] Brian Bradley Windows Vista General Discussion 1 01-01-2008 08:31 PM
How to search for content inside files? Joe Grover Windows Vista General Discussion 6 08-14-2007 09:42 PM
Search in content for ASP files brings nothing Alfgar Windows Vista General Discussion 0 04-26-2007 05:40 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59