TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Vista All

Notices

Search files by content

Windows Vista All


Reply
 
Thread Tools Display Modes
Old 24-09-2007, 09:36 PM   #1
Paddy
Guest
 
Posts: n/a
Search files by content

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
Old 25-09-2007, 12:51 AM   #2
Dave Wood [MS]
Guest
 
Posts: n/a
Re: Search files by content

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" <Paddy@discussions.microsoft.com> wrote in message
news:63CC3BA4-5AB0-467D-A259-3286C6033121@microsoft.com...
>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
Old 25-09-2007, 08:43 AM   #3
Paddy
Guest
 
Posts: n/a
Re: Search files by content

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
Old 25-09-2007, 08:43 AM   #4
Dave Wood [MS]
Guest
 
Posts: n/a
Re: Search files by content

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" <Paddy@discussions.microsoft.com> wrote in message
news:30BBC046-0383-46BB-90F8-E1B67C3B9577@microsoft.com...
> 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
Old 25-09-2007, 01:28 PM   #5
Paddy
Guest
 
Posts: n/a
Re: Search files by content

Thank you, Dave. That works, but it also returns some extra files. I don't
know for what reason.
  Reply With Quote
Old 26-09-2007, 10:40 AM   #6
Dave Wood [MS]
Guest
 
Posts: n/a
Re: Search files by content

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

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


  Reply With Quote
Old 26-09-2007, 10:40 AM   #7
Paddy
Guest
 
Posts: n/a
Re: Search files by content

Cool, that works!

Thanks a ton for your help.
  Reply With Quote
Old 08-11-2007, 01:29 AM   #8
Teri
Guest
 
Posts: n/a
Re: Search files by content

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" <Paddy@discussions.microsoft.com> wrote in message
> news:63CC3BA4-5AB0-467D-A259-3286C6033121@microsoft.com...
> >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
Old 05-04-2008, 09:42 AM   #9
thuse
Guest
 
Posts: n/a
Re: Search files by content

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" <Paddy@discussions.microsoft.com> wrote in message
> > news:63CC3BA4-5AB0-467D-A259-3286C6033121@microsoft.com...
> > >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
Old 05-04-2008, 08:43 PM   #10
On Request
Guest
 
Posts: n/a
Re: Search files by content

There is a box to the left of the 'Add new extension' box. If you type your
extension in that box, the 'Add new extension' box will become visible.

"thuse" <mikegockel@aol.com.(donotspam)> wrote in message
newsA6B4111-6988-4DC2-9AD3-33399DEECB6A@microsoft.com...
> 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


  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding document files by content paulc Microsoft Office 0 19-09-2007 02:30 PM
Search companion - saving a search with hidden files workmags Windows XP 0 28-08-2007 01:10 AM
RE: How to search for content inside files? Wilber Sok Windows Vista All 4 20-08-2007 02:51 AM
Searching for files, content on replaceable media (CD) Ludwig Windows Vista All 0 17-08-2007 10:17 PM
Search inside files skips php files? Hare Windows Vista All 1 17-08-2007 03:10 PM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:44 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional