1 Using Windows 7 Search
Many people regard Windows search as unreliable.
They say that even without any known problems in indexing it can fail to find what it is supposed to and that it can be useless one minute & well-behaved the next.
There are many threads in this forum about search problems.
For all but the very simplest of searches, I avoid possible confusion by using the NirSoft utility
SearchMyFiles instead [see section 2 below].
Windows 7 searching relies on the Indexing
function, which can be found in the Control panel. If there is a problem with indexing then searching will be unsatisfactory.
It does take Windows quite some time to settle down enough to complete its index in new or updated systems.
There are many threads in this forum about indexing problems.
1.1 Simple searching in the Start menu search box
If you are looking for an application or utility that appears in the
Start menu, All programs list then search for it by entering part of its name or common abbreviation in the
Start menu search box.
You can also use the Start menu search box to search for other files if you really want to.
Set this up by right-clicking on the Start menu, selecting Properties, then selecting
Customise, scrolling to near the bottom of the list & setting Search other files & librariesto either Search with public folders or Search without public folders.
This will only search indexed locations - generally, this means all folders within the
Windows explorer, Libraries area.
Start menu search box
searches exclude network locations because they exclude all non-indexed locations.
In addition, for Windows 7 Professional Ultimate & Enterprise Editions,
Start menu search box searching can be extended to include network locations see
The
*Search programs and files* box on the Start menu does not search files on network locations that are not indexed in Windows 7.
Start menu search box searching is not as flexible as searching with
Windows explorer so it is not referred to again in this article.
1.2 Simple searching with Windows explorer
If you are looking for a file or folder, open Windows explorer.
Select the folder that you want to search in by clicking on it in the left-hand [Navigation] pane or by opening it in the right-hand pane.
Click in the search box in the upper right corner of the window & enter the search word or words.
No special syntax is required - just put in any words you want to search for.
The search results will be displayed in the right-hand pane.
To avoid confusing results from your searches, check your search settings at
Windows explorer, Organize, Folders & search options,
Search tab. Make sure that you have set the checkboxes for Find partial matches & for Use natural language search.
When you complete a search & want to do a new one or just realize you have mistyped a search & want to start again, clear the decks by clicking on the x at the right-hand end of the search box.
The search box can get really awkward if you try to edit anything that’s already in it so starting again can often the easiest thing to do - click in the
search box then press your keyboard’s Escape key twice to clear its current contents.
Windows only looks for the search terms at the start of words.
It will not find the search term if it only appears later in a word.
For example, if you enter bert in the search box then it will find Bert & Bertie but not Albert or Ethelbert.
However, if you enter *bert in the search box then it will find Bert, Bertie, Albert & Ethelbert.
These examples also illustrate the fact that simple searching is not constrained by capitals / lower case letters.
Searches will also list folder names & all the files within those folders.
So a search for bert might list the folder called test bert names and every file within that folder i.e.
Bert, Bertie*,* Albert & Ethelbert.
This can be a bit confusing and can make you think that you don’t understand Windows Search or that Windows Search is not working correctly.
You can search for all .jpg format files, just for example, by entering
jpg as your search term.
Windows can have difficulty with common keywords being used
in searches & can behave inconsistently. This behavior is a by-product of having the
Use natural language search selected. If you want to search for
search or for kind, for example, don’t - search for
"search" or “kind” instead. Similarly, if you want to search for
(1), search for “(1)” instead.
Separate words in the search term are searched for independently.
So, a search for advanced "search" will find Search syntax.xlsx,
Advanced Query Syntax.mht & Windows 7 (advanced) search pane.mht.
However, I have seen inconsistent behavior with multiple search words so I only use one word as my search term unless I use the methods explained in section 1.6 [Advanced searching, para 5] below.
Windows searches in file & folder names and in all other file properties.
It will include searching within file contents for file types set up to have their contents indexed [See Windows Help at
indexing options & at Improve Windows searches using the index].
By default, searches will be conducted in the folder you have selected & in all its sub-folders.
You can restrict searches to a single folder [if you really want to] at
Windows explorer, Organize, Folders & search options, Search tab,
How to search section, Include subfolders in search results when searching in the folders - clear this checkbox.
Windows Search searches your files not those of other users.
You can search network locations.
This cannot be done at the Windows explorer, Computer level but only by selecting individual network drives or other individual network locations.
So, just as an example of this, I can search an individual shared drive or I can search the network location
DellXP thereby including all its shared folders & drives within a single search.
Since network locations are not indexed, searching them is relatively slow & does not include searching file contents.
Searching will, by default, include all folders included within Libraries as they are all indexed.
So it is worth keeping all of your own folders in Libraries even if you never use Libraries directly.
Once you have done any searches then your search terms will appear in a dropdown list whenever you click
in the search box. That list is reset frequently but the rules for doing so are not clear.
If the search box is too small for you to work with then you can hover your cursor just to the
left of its left-hand edge [until it turns into a double-headed arrow] then click & drag it further left to enlarge it.
Guidance is also provided in Windows Help at
Find a file or folder and at How to Search in Windows 7 (SevenForums)
1.3 Simple searching with search filters
Guidance on using search filters is also provided in Windows Help.
Search for search and then select Advanced tips for searching in Windows
This guidance is, like all Windows Help contents, available online as well - see
Advanced tips for searching in Windows
When you click in the search box, the dropdown list that appears also has a sub-heading
Add a search filter: underneath the list of recent searches.
Note that Add a search filter: is in a grey font as an indication that it is only a sub-heading and is not an invitation for you to add more search filters.
In normal folders, you will be offered the choice of selecting a pre-defined
Date modified filter or a pre-defined Size filter. By normal, I mean folders that you are not accessing through the Windows explorer, Libraries area but are accessing directly through the folder C:\Users\YourUserName....
Non-Library folder search filters

You can click on the Date modified filter then select an entry from its list of suggestions, click on a single date or click on a date then drag your cursor across other dates before releasing it as shown in the example
below. The search box updates to confirm the selection you have made and will then run the search.

You can click on the Size filter then select an entry from its list of suggestions or type in the size or range of sizes you are interested in, as shown in the example below, and the search then runs.

Libraries offer you additional search filters that are relevant to their file types.
If the search box is too small for you to see all the offered filters then hover your cursor just to the left of its left-hand edge [until it turns into a double-headed arrow] then click & drag it further left to enlarge it.
Documents library search filters

Music library search filters

Videos library search filters

Pictures library search filters

General items library search filters

WindowsKey-F searching
There is also a method of searching that is similar to using Windows explorer but is not restricted to any particular folders that you select.
Instead it includes all indexed locations on the system - by default, this includes all folders that are in your Libraries.
If you really have no idea where you might have put a particular file then it is not inconceivable that this method might come in handy.
Start it by pressing the Windows key & the F key [not the Ctrl-F combination that you might be used to using within many applications].
A search window opens that looks like a blank view of Windows explorer & you can click in its search box to use it in pretty much the same way.
You will be offered other built-in search filters with this method but those filters can change when you start typing in the search box.
Some guidance on using Windows key F searching is available in Windows Help at
Find a file or folder.
WindowsKey-F search filters

1.4 Working with search results
The search results will normally be presented using the same view as the folder you started the search in.
If this is not useful you can change it using the Change your view control in the upper right of the
Windows explorer window. Choose the Details view if you want to see specific information about the files in the search results.
Then right-click in any column header & select any additional columns you want [either from the list presented or from the
More... entry]. These selections will be used when you run another search in the same type of folder [folder types are General items, Documents, Pictures, Music, Videos - see Windows Help at
folder type & at Change folder options].
You can sort search results by any of the columns in those results.
Displaying the column Folder path to your results list can be particularly useful as it will allow you to sort the results by their paths and this can often help you to make sense of searches when there are lots of sub-folders involved.
You can right-click on any entry in the results & select
Open file location to see that file & the other files that are in the same folder.
In addition, if you want to get ready for any later work you intend to do in that folder, you can right-click on the folder name & select
Open in new window. You can return to the search results by clicking on the
Back button in the top-left corner of the original Windows explorer
window.
You might want to save some or all of the list of files presented in the search results.
To do this, select the files concerned then press & hold the Shift
key as you right-click. Release the Shift key & select Copy as path.
Then open Notepad or any other text editor, Paste then
Save. This preserves a list of the file names [and their paths] returned using that particular search on that particular occasion.
Copy as path cannot do any more than this.
1.5 Saving simple searches in order to repeat them later
If you expect to repeat a search then you can save it now for re-use later.
When you look at your search results, there is a Save search control in the upper left of the window just next to
Organize. Click on that.
You will be taken to C:\Users*YourUserName*\Searches where you will be able to choose a name for the search.
You do not see the search definition when you run the saved search later so you need to give the search a fully descriptive name that includes the search terms used and the folder that it searches.
You will see that you are now in the C:\Users*YourUserName*\Searches folder rather than your original folder and your search results are still being shown.
The search name you have chosen is presented as if it & its results were in sub-folders of C:\Users*YourUserName*\Searches but this is merely a means of presentation - the files in the results have not been moved at all.
What you have saved is a search definition not a set of search results.
Its search results will change in the future as the files in the search folders change.
To return to your original folder, press the back button in the top-left corner of the Windows explorer window.
The search definitions you save do not hold the files you see in their results.
If you want to delete the search definition later on then you can do so safely as all you are doing is deleting a search definition not the search results files themselves.
If you do this, make sure you select the search definition in C:\Users*YourUserName*\Searches rather than any of its results.
Please note that in the C:\Users*YourUserName*\Searches folder, there are also two hidden entries [saved search definitions] -
Indexed locations & Everywhere. Do not delete these.
If you want to make running the search again even more convenient then select the search name in the right-hand Windows explorer pane.
Scroll the left-hand pane [the Navigation pane] up to the top then drag the search name & drop it on the poorly-named Windows explorer
Favorites entry [it has nothing to do with IE Favorites].
You can now run that search again quite easily by clicking on it as the Windows explorer
Favorites entry is shown in every instance of Windows explorer including the
Open file dialogs of applications.
1.6 Not-so-simple searching - Advanced searching
1 As explained above, if you enter *bert in the search box then it will find Bert, Bertie, Albert& Ethelbert. If you wanted to be specific about the maximum number of “wildcard” characters you were interested in then you could search for
??bert to return Bert, Bertie & Albert but not Ethelbert.
2 You can restrict your search to file names only by using the constraint
filename: So, to find all file names that include a word beginning with
search, you could enter filename:bert. This can be a particularly useful constraint in many circumstances.
Because you have enabled the Use natural language search setting,
you can just enter filename bert to achieve the same result.
3 You can also use the constraint
content: to restrict a search to file content but not its name or its other file properties.
So you can search for content:bert to find only those files that contain the words
Bert or Bertie. Because you have enabled the
Use natural language search setting, you can just enter content bert to achieve the same result.
4 You can search for files of a particular
kind [most of us would say type normally but that is an old keyword that has a specific meaning to Windows Search] by entering
kind in the search box then scrolling down & selecting an entry from the dropdown list that appears.

Kind searching can be more useful than searching by file extensions as all common file extensions for that
kind are automatically included. Whilst you could search for all .jpg format files by entering
jpg as your search term, entering Kind or Kind: then selecting
Picture will search for .jpg, .png, .bmp & all the other common Picture file formats.
5 You can also constrain searching by including AND, OR or NOT.
You don’t have to use capitals for these words [because you set Use natural language search].
So,
whilst a search for advanced "search" would find Search syntax.xlsx,
Advanced Query Syntax.mht & Windows 7 (advanced) search pane.mht
a search for advanced AND "search" would only find Windows 7 (advanced) search pane.mht
but
if the file Search syntax.xlsx contained the word advanced in its contents then it would also be found so the results would be
Search syntax.xlsx & Windows 7 (advanced) search pane.mht
therefore,
if you were only interested in searching file names you would have to combine two constraints & search for
filename: advanced AND "search" instead if you only wanted it to find
Windows 7 (advanced) search pane.mht.
6
More information on advanced searching is available in Windows Help.
Search for search and then select Advanced tips for searching in Windows
This guidance is, like all Windows Help contents, available online as well - see
Advanced tips for searching in Windows
I have never used any of the search constraints explained in that article other than those I have explained here or below.
1.7 Not-so-simple searching - Advanced Query Syntax
You can search by any other file properties.
For example, you could enter
datemodified:today to return just those recently changed files as an alternative to using the built-in date filter.
With the natural language search setting enabled, you can just enter
date modified today to achieve the same result.
You can search by file size, so you might choose to enter
size or size: then take one of the dropdown options or you could continue manually & enter any value you want such as
size <100KB.
The specialist properties of media files can also be used for searching.
If you wanted to identify low quality audio files then you might choose to search for
bit rate or bit rate: then take one of the dropdown filters or to continue manually & enter
any value you want such as bit rate <50kbps.
To learn more about how to use these & other powerful operators with Windows Search, see these references:
Advanced Query Syntax
Windows Search Tips, Tricks, Advanced Query Syntax for Windows 7, Vista, XP
The Windows Club [this is a copy of the information that used to be available on the MS website but which has now disappeared from there]
Mastering Windows Search using Advanced Query Syntax (ARSTechnica)
I used to keep these references handy but no longer do so.
If I can’t use one of the examples I have provided then I regard the search as a complex one and turn instead to
SearchMyFiles by NirSoft.