Windows 10: Exclude "file type" from search

Page 1 of 3 123 LastLast

  1. Posts : 11
    windows 10
       20 Aug 2017 #1

    Exclude "file type" from search


    I need to find all the files that contain the word "word" in them. When I try to search in File Explorer, I get all the files that are Microsoft Word files. How do I search for matches on only content within the file?


    I need to find all the files that contain the word "word" in them. When I try to search in File Explorer, I get all the files that are Microsoft Word files. How do I search for matches on only content within the file?
      My ComputerSystem Spec

  2.    20 Aug 2017 #2

    Click image for larger version. 

Name:	Capture.JPG 
Views:	4 
Size:	31.8 KB 
ID:	149739

    Maybe remove the checkmark where circled and search *.word
      My ComputerSystem Spec

  3.    20 Aug 2017 #3

    enso said: View Post
    I need to find all the files that contain the word "word" in them. When I try to search in File Explorer, I get all the files that are Microsoft Word files. How do I search for matches on only content within the file?
    Hi,
    Click on Search field.
    You'll see the "Search Tools" menu, click on "Search->Advanced options" and...voila!

    Click image for larger version. 

Name:	Search.jpg 
Views:	7 
Size:	98.1 KB 
ID:	149744
      My ComputerSystem Spec


  4. Posts : 1,450
    Windows 10 Pro (32-bit) 16299.15
       20 Aug 2017 #4

    You could put something like this in the search box:
    Code:
    word NOT(ext:docx OR ext:doc OR ext:docm)
    Kari did a tutorial over on Sevenforums on file explorer searching. Although it's a few years old, I believe it all still applies in Windows 10.
    https://www.sevenforums.com/tutorial...operators.html
      My ComputerSystem Spec


  5. Posts : 11
    windows 10
    Thread Starter
       20 Aug 2017 #5

    Josey Wales said: View Post
    Click image for larger version. 

Name:	Capture.JPG 
Views:	4 
Size:	31.8 KB 
ID:	149739

    Maybe remove the checkmark where circled and search *.word

    No; this does not do what I want. I do not want files with a .word extension. I want Word files that contain "word" within the text content.
      My ComputerSystem Spec


  6. Posts : 11
    windows 10
    Thread Starter
       20 Aug 2017 #6

    werby said: View Post
    Hi,
    Click on Search field.
    You'll see the "Search Tools" menu, click on "Search->Advanced options" and...voila!

    Click image for larger version. 

Name:	Search.jpg 
Views:	7 
Size:	98.1 KB 
ID:	149744

    No; this does not do what I want. There is nothing under advanced search options to prevent searching for "word" finding all Microsoft Word documents, instead of just the Word documents that have "word" as text within the file. I want Word files that contain "word" within the text content.
      My ComputerSystem Spec


  7. Posts : 11
    windows 10
    Thread Starter
       20 Aug 2017 #7

    DavidY said: View Post
    You could put something like this in the search box:
    Code:
    word NOT(ext:docx OR ext:doc OR ext:docm)
    Kari did a tutorial over on Sevenforums on file explorer searching. Although it's a few years old, I believe it all still applies in Windows 10.
    https://www.sevenforums.com/tutorial...operators.html

    I do not want to exclude extensions of .doc, .docx, etc. I want them, and I want all of those that have somewhere inside the file the word "word". A search for the word "word" matches every Microsoft Word document, even ones that do not contain "word" within them. The search is matching on the file type. I can find no syntax to exclude searching on the file type field and search only the contents of the files.
      My ComputerSystem Spec

  8.    20 Aug 2017 #8

    In Advanced Indexing Options uncheck to exclude .word file types if listed

    Click image for larger version. 

Name:	000143.png 
Views:	34 
Size:	19.1 KB 
ID:	149786
      My ComputerSystem Spec


  9. Posts : 4,617
    Mac OS High Sierra 10.13.5
       20 Aug 2017 #9

    If you have not specified a specific folder for Office documents, they get dropped into the Documents folder under your profile. Boolean searches of if, and, or, = have always worked. If you want to narrow the searches down to a specific file, you need to put in keywords into the profile of the file before saving. I would also suggest setting up sub-folders in Documents for say Word, Excel, Power Point, etc.
      My ComputerSystem Spec

  10.    21 Aug 2017 #10

    enso said: View Post
    .... A search for the word "word" matches every Microsoft Word document, even ones that do not contain "word" within them. ....
    Unfortunately, you're absolutely right!!!

    I've performed some tests and I first time realize that WinSearch looks for not only contents but also for the tags of a file (seen in properties/details). That's why you see documents even if they don't include given word.

    The word "word" is included in a .doc file tag as "Microsoft Office Word"
    So, exclusion of file tags on searching would make the job. BUT HOW...???
      My ComputerSystem Spec


 
Page 1 of 3 123 LastLast

Related Threads
Please excuse my ignorance but I wasn't sure how to ask my question. I use OPENvpn. I want to exclude Bank of America online banking from it. I think I understand how to setup Split tunneling but won't that only let me exclude or include...
I some how changed file type .dst to open with Corel Draw. I need to change it back to unknown application. I am operating with Windows 10. I have tried going through control panel/default programs/ however it forces me to pick an application, no...
Is there a way in 10 to add modifiers or switches to a default program? For example, I would like a .xlsx Microsoft Excel file to open with C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" /e "%1 (That is, adding " /e "%1 to the command...
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...
Hello everyone I would like to edit the file type descriptions of a number of file types on my computer. I mean the text that is written in the "File Type" column. For example, after installing Opera browser, all HTML and HTM files have the...
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 10:46.
Find Us