Page 1 of 3 123 LastLast
  1.    20 Aug 2017 #1
    Join Date : May 2017
    Posts : 7
    windows 10

    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
    Join Date : Mar 2017
    Posts : 5,665
    64-bit Windows 10 Pro Build 15063

    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
    Join Date : Aug 2015
    Posts : 54
    Windows 10 pro

    Quote Originally Posted by enso 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.    20 Aug 2017 #4
    Join Date : Jan 2014
    Posts : 1,391
    Windows 10 Pro (32-bit) 16299.15

    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.    20 Aug 2017 #5
    Join Date : May 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by Josey Wales 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.    20 Aug 2017 #6
    Join Date : May 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by werby 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.    20 Aug 2017 #7
    Join Date : May 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by DavidY 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
    Join Date : Feb 2014
    Posts : 9,338
    Windows 10 Professional

    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 ComputersSystem Spec
  9.    20 Aug 2017 #9
    Join Date : May 2015
    Central IL
    Posts : 4,207
    Mac OS Sierra

    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
    Join Date : Aug 2015
    Posts : 54
    Windows 10 pro

    Quote Originally Posted by enso 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


Similar Threads
Thread Forum
How to use Split tunneling or the "add," command to exclude a website
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...
Network and Sharing
Solved Change default application back to "unknown" for file type of .dst
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...
Software and Apps
Solved How do you edit default program for file type to include "/" option?
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...
Software and Apps
Solved File Explorer Search-"Limit to search on name" not working
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...
General Support
How to change "File type" (aka file type description) of files
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...
General Support
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 07:30.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums