How to search for a file by content in Windows 7

Table of contents:

How to search for a file by content in Windows 7
How to search for a file by content in Windows 7
Anonim

This article will show you how to search for files in Windows by their content, not by name. This can be done using the search bar in the folder window or by activating the search for files by content.

Steps

Method 1 of 3: Using the search bar in the folder window

Make Windows 7 Search File Contents Step 1
Make Windows 7 Search File Contents Step 1

Step 1. Open the folder where you want to find the file

To find a file by its contents in a specific folder, first open it.

For example, if you want to find a file in the Documents folder, open the Documents folder

Make Windows 7 Search File Contents Step 2
Make Windows 7 Search File Contents Step 2

Step 2. Click on the search bar

It's in the upper-right corner of the folder window.

Make Windows 7 Search File Contents Step 3
Make Windows 7 Search File Contents Step 3

Step 3. Enter your content search query

Enter content: in the search bar. Anything you enter after the colon will be used to search the contents of the files.

Make Windows 7 Search File Contents Step 4
Make Windows 7 Search File Contents Step 4

Step 4. Enter the word or phrase you want to find the file with

Do this after the word "content:".

For example, if you are looking for a file with the phrase "elephant never forgets," in the search bar, enter the content: elephant never forgets

Make Windows 7 Search File Contents Step 5
Make Windows 7 Search File Contents Step 5

Step 5. Review the search results

If you have entered the correct word or phrase, the file you are looking for will appear at the top of the search results.

To narrow your search results, enter a longer or more specific phrase

Method 2 of 3: How to enable content search in all files

Make Windows 7 Search File Contents Step 6
Make Windows 7 Search File Contents Step 6

Step 1. Open the Start Menu

Windowsstart
Windowsstart

Click the Windows logo in the lower left corner of the screen.

Make Windows 7 Search File Contents Step 7
Make Windows 7 Search File Contents Step 7

Step 2. In the search bar, enter change search options for files and folders

The search bar is at the bottom of the Start menu. This will search for the option to be changed.

Make Windows 7 Search File Contents Step 8
Make Windows 7 Search File Contents Step 8

Step 3. Click Change Search Options for Files and Folders

You will find this option at the top of the Start menu.

The Files and Folders option may be displayed; in this case, click on it

Make Windows 7 Search File Contents Step 9
Make Windows 7 Search File Contents Step 9

Step 4. Check the box next to "Always search by file names and content."

It's under the "What to look for" section.

  • If this box is already checked, search by file content is enabled.
  • You may have to go to the Search tab (at the top of the window) to find this option.
Make Windows 7 Search File Contents Step 10
Make Windows 7 Search File Contents Step 10

Step 5. Click Apply > OK.

Both buttons are at the bottom of the window. Your changes will be saved and the window will close. Now the search will go by the names and contents of the files.

Method 3 of 3: How to enable content search in specific files

Make Windows 7 Search File Contents Step 11
Make Windows 7 Search File Contents Step 11

Step 1. Open the Start Menu

Windowswindows7_start
Windowswindows7_start

Click the Windows logo in the lower left corner of the screen.

Make Windows 7 Search File Contents Step 12
Make Windows 7 Search File Contents Step 12

Step 2. In the search bar, enter Change Windows Search Service Settings

The search bar is at the bottom of the Start menu.

Make Windows 7 Search File Contents Step 13
Make Windows 7 Search File Contents Step 13

Step 3. Click Change Windows Search Service Settings

You will find this option at the top of the Start menu. The Indexing Options window opens.

Make Windows 7 Search File Contents Step 14
Make Windows 7 Search File Contents Step 14

Step 4. Click on Advanced

This button is at the bottom of the window. A pop-up window will open.

Make Windows 7 Search File Contents Step 15
Make Windows 7 Search File Contents Step 15

Step 5. Click the File Types tab

You will find it at the top of the window.

Make Windows 7 Search File Contents Step 16
Make Windows 7 Search File Contents Step 16

Step 6. Select the desired file type

Scroll through the list of file types at the top of the window, find the file type you want in the list, and then click on the file type to select it.

Make Windows 7 Search File Contents Step 17
Make Windows 7 Search File Contents Step 17

Step 7. Check the box next to the "Index file properties and contents" option

This option is in the "How should such files be indexed?" at the bottom of the window.

Make Windows 7 Search File Contents Step 18
Make Windows 7 Search File Contents Step 18

Step 8. Click OK

This button is at the bottom of the window. Your changes will be saved and the window will close. Now the search will go through the content of certain types of files.

Advice

  • You can also index additional folders in the Indexing Options window.
  • When you make changes to the indexing parameters, the desired search results will not appear immediately - the system will take time to include the contents of the new files in its index. Restart your computer to speed up this process.

Popular by topic