Search file contents in Windows 7
1) Indexed my C drive
2) Folder options - Always search file names and contents, Include subfolders, Find partial matches, Include system directories
3) Advanced indexing options - Index Properties and File Contents (even though I don't have this option selected on my old laptop)
4) C: properties - Allow files on this drive to have contents indexed in addition to file properties
Thank you for taking the time to report an issue.
What's wrong... Please write below.
In XP, in Windows Explorer, I click the search shortcut, then search companion. There there is a box to say "A word or phrase in the file". It will look in the folder for a file with the search string in the contents.
In Win 7, there is the search box in the upper right hand corner. You can search for a file name. After doing that, there may or may not be a way to search file contents.
Under “More options” I have selected “Content”.
In Indexing Options I have selected the correct folder and file type.
I have selected “Index Properties and File Contents”.
I have rebuilt the index.
I have tried restarting my laptop.
In Folder Options – Search I have tried “Always search file names and contents”
I have also tried “Don’t use the index when searching in file folders for system files”
The only results I get is the result of a search of the file name but not the contents.
I have selected "include file contents", I have privileges for the folders/files being indexed, the folder/file properties "include file contents ..." is checked, the file types searched either have files filters for the (i.e. pdf's) or are intrinsic to W7 (i.e. Word, Excel, etc formats).
The only way I can get the file contents to be added to index rebuilds is by modifying a file in any way, for example if I change a number in an Excel doc and then that and only that file will be properly displayed in search results. As there are thousa nds of files this is not a practical work-around. Or if I add a new file the contents are indexed just fine. It is almost as if the search engine is not "re-crawling" the contents of the files that had previously been indexed when it is rebuilding the index. Is there any way to tell it (other than to rebuild, which does not cure the issue) to "re-crawl" all the files as if they never were crawled previously?
Any suggestions on how to fix this?
I've also tried adding the folder to a library so the library will be included in the search index. Still no luck.
Also, is there a way to use the keyboard to go from the search box to the link to search "File Contents"? I have tried using Tab and F6 to move about the Search window but none of these keys will land on the pane that says "File Contents". If I was visually impaired, how would I perform a search and then choose File Contents?
Anyway I'm having the same problem so I'd like to continue the discussion here. After reading the previous discussion I went to the control panel and selected "Change How Windows Searches" and clicked the "Advanced" button. Strangely I discovered that under "File Types" the panel "How should this file be indexed" was set to "Index Properties Only." I switched it to "Index Properties and File Contents", clicked "OK" and waited for reindexing to complete. After it was done Search still did not find the files specified in my search, even though I knew for certain the search string is in those file.
So I went back to the control panel and this time I clicked the "Modify" button. Much to my surprise my C: drive was not selected, so I selected it, hit "OK" and waited for Windows 7 to reindex everything again. It certainly indexed more files than before, but my search still does not return all files for which I know the string is in.
Two things I've noticed:
On OS X, searching just works correctly. Everything is indexed from the get-go and searching from the Finder always returns what you would expect. There is nothing special to configure.
On every Windows third-party search product (i.e. Google search), everything is indexed from the get-go and searching from the toolbar always returns what you would expect. There is nothing special to configure.
So my question is: Why can't Microsoft figure out how to make searching "just work?"
It will not do this if I am currently in the directory where the file is located.
It will not do this if under Tools, Folder Options, Search I also have the Always search filenames and contents checked under What to Search, and also have Include subfolders and include partial matches.
It does file words in text files (.txt, .html, etc.)
I've been less critical of Microsoft application design than others in the past, but this just blows me away as far as the designers taking a HUGE step backwards in desktop search usability. If you search the Internet you will find all sort of posts of people having problems using the search. It is a great example of poor software design. Specifically:
Why are the options to search content buried in the Folder Options? Who the heck is going to easily find that?
Can't you specify (as you could on XP) if you want to search content on a PER SEARCH basis instead of having to keep toggling the Folder Options?