How do I search my computer for words within a file?

  1.    #1

    How do I search my computer for words within a file?


    Couldn't follow the instructions on Google. I'm looking for a file with the words "Richard" and "quality" in it. Should be simple - but not for me. Could someone please guide me (exactly) on how to perform this search with screenshots? By the way, this file could also be the results of a scan in which the words wouldn't show up - but I'm hopeful I can find it. Thank you.
      My ComputerSystem Spec

  2. retexan599's Avatar
    Posts : 17
    Windows 10 Home Version 1803
       #2

    Nisko said: View Post
    Couldn't follow the instructions on Google. I'm looking for a file with the words "Richard" and "quality" in it. Should be simple - but not for me. Could someone please guide me (exactly) on how to perform this search with screenshots? By the way, this file could also be the results of a scan in which the words wouldn't show up - but I'm hopeful I can find it. Thank you.
    You need to set up your Indexing Options. It's in the Control Panel. And look for tutorials on this forum which have reference to 'Indexing'.
      My ComputerSystem Spec

  3.    #3

    I'll look for the tutorial but my problem with indexing is I've seen it take over a machine.
      My ComputerSystem Spec


  4. Posts : 1,341
    Windows 10 Home x64 and Pro x86
       #4

    Nisko,

    Please explain exactly what this file is and where it is. Both are essential for giving you suitable guidance.

    Denis
      My ComputerSystem Spec

  5.    #5

    Example of success:
    Click image for larger version. 

Name:	Snap 2019-03-05 at 07.19.04.png 
Views:	1 
Size:	52.7 KB 
ID:	226301

    What has to be true for such a search to succeed (using Windows search):
    a. Windows search has to be functioning
    b. The folder in which the document exists must be in selected as to be indexed by Windows search - that's specified in Indexing Options in the Control Panel.
    c. Content indexing must be enabled both on the document and in Indexing Options
    d. There must be an appropriate ifilter (indexing filter) available for the document types you want to index and search.

    What are the document types of interest?
    txt? pdf? doc? rtf? docx? etc
    @Soapm - disabling Windows search has become Windows mythology going back to XP. Only if there is disk corruption and e.g. chkdsk fails is it likely that Windows search will use noticeable resources.

    Normally indexing, when it does happen, backs off (pauses) at the least user activity. Once the selected folders are indexed, only changes there cause indexing activity.

    Here's a Cortana result, but note I had to select Documents to get a result from files.
    Click image for larger version. 

Name:	Untitled.png 
Views:	1 
Size:	37.1 KB 
ID:	226302

    However I can't use the syntax 'quality AND mercy' here.

    Tutorials:
    Search in File Explorer in Windows 10 | Tutorials
    - includes this list:

      My ComputersSystem Spec

  6.    #6

    Indexing Options:
    Click image for larger version. 

Name:	Snap 2019-03-05 at 07.31.57.png 
Views:	1 
Size:	159.3 KB 
ID:	226303
    Indexed locations- your target document must be in these.
    Be careful not to change the defaults- or you could end up with a slow search of Settings e.g.

    Click image for larger version. 

Name:	Snap 2019-03-05 at 07.33.19.png 
Views:	1 
Size:	194.4 KB 
ID:	226304

    Here you can see an example of an ifilter- I have Sumatra installed as my pdf default reader, so text-based pdfs (not image-based) can be indexed.

    For example if you want to index .doc files, there must be a suitable ifilter installed. Office suites typically install these.
      My ComputersSystem Spec

  7. Kari's Avatar
    Posts : 15,634
    Windows 10 Pro
       #7

    In File Explorer search field, type the following to find all documents containing words Richard and quality in current folder and all its subfolders:

    content:Richard AND content:quality

    Type the following to find all documents containing word Richard or word quality:

    content:Richard OR content:quality

    Type the following to find all documents containing word Richard, excluding files which also contain word quality:

    content:Richard NOT content:quality

    Notice that logical operators (AND, OR, NOT) must be written in uppercase.

    Kari
      My ComputerSystem Spec


 

Related Threads
I get odd looking results after I do a file search with list view or small icons. All fine when explorer normally displays in windows 10 but it looks like the file name is padded out with some extraneous characters which are invisible. Any thoughts...
i7 7700k, 32gb ram, intel m.2 sata , rx580, all bios, firmware and drivers fully updated. Windows 10 Pro 1803 fully updated All apps fully updated ------- I will start by saying that I have tried everything I can think of short of giving...
Source: Search for words in your images in Office 365 - Microsoft Tech Community
I'm thinking this should be easy, but it isn't turning out that way. Computer A is dying, has a current File History. I am setting up Computer B and I want to use File History on B to restore from A. Instead, B can't see A's File History and...
Hello, The File explorer option is bugged: whatever option one chooses: search names, url, or contents: the result total is that of search "contents". For most searches, this gives 12000 files instead of say 3. Cortana does give the three, but it's...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:42.
Find Us