Windows 10: Exclude "file type" from search

Page 2 of 3 FirstFirst 123 LastLast
  1.    21 Aug 2017 #11

    Hi, in file explorer try e.g.
    content:doc

    to find files containing doc but not files of type doc or docx.

    (Note- naturally you need the appropriate ifilters installed for the document types you're interested in to index content, as well as having the relevant folders specified in Indexing Options and content indexing enabled).
      My ComputerSystem Spec

  2.    21 Aug 2017 #12

    dalchina said: View Post
    Hi, in file explorer try e.g.
    content:doc ...
    That seems to work!!!
    THANKS!!!:)
      My ComputerSystem Spec

  3.    21 Aug 2017 #13

    Interestingly it's not shown in the Advanced Query Syntax description- perhaps there's a later version.
      My ComputerSystem Spec


  4. Posts : 14,231
    Windows 10 Pro
       21 Aug 2017 #14

    dalchina said: View Post
    Hi, in file explorer try e.g.
    content:doc

    to find files containing doc but not files of type doc or docx.
    Exactly.

    To search for files containing string word, simply search for content:word. To search for files containing both strings word and doc, search for content:word AND content:doc.

    To search for files where string word is either in file name or file content excluding documents with extension starting with .doc, search for word NOT ext:doc.

    Notice that logical operators AND, OR, NOT must be in upper case. If written in lower case, they will be taken as strings you are searching for instead of logical operators. They can be combined, for instance searching for files containing either the string word or the string doc but excluding those files created last year, search for content:word OR content:doc NOT datecreated:2016.

    Kari
      My ComputerSystem Spec


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

    Success!


    Ah, thank you!

    This performed the search I wanted:
    content:word AND (ext:doc OR ext:docx)

    Is there a web page that lists the limiters ('content', 'ext', and so on)?

    How unhelpful for File Explorer help to not have this, or at least not make it easier to find.
      My ComputerSystem Spec


  6. Posts : 14,231
    Windows 10 Pro
       21 Aug 2017 #16

    enso said: View Post
    Ah, thank you!

    This performed the search I wanted:
    content:word AND (ext:doc OR ext:docx)

    Is there a web page that lists the limiters ('content', 'ext', and so on)?

    How unhelpful for File Explorer help to not have this, or at least not make it easier to find.
    ext:doc OR ext:docx is unnecessary, ext:doc already covers all extensions with three or more characters starting with doc.

    As David mantioned in post #4, this tutorial although made for Windows 7 is still mostly valid: Search - Find More with Filters and Operators - Windows 7 Help Forums

    Kari
      My ComputerSystem Spec


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

    I took a look at that link, but it does not contain the filter that was crucial to my question: content

    If anyone knows of an even more complete list, please share the link.
      My ComputerSystem Spec

  8.    21 Aug 2017 #18

    I mentioned this above by name, which covers a lot of ground, and commented on the apparent omission and need for something more recent:
    Advanced Query Syntax (Windows)

    However, I do think that not having an intuitive GUI based search and using something akin to a command line syntax, means using search more fully is restricted to the minority of users. Only if you have an exceptional memory or frequently use such syntax is this readily available to you as a useful tool.
      My ComputerSystem Spec


  9. Posts : 302
    Windows 10 Home 64 bit (with Creators OS)
       21 Aug 2017 #19

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

    Attachment 149744
    Werby: Could you please tell me the name of the annotation/markup software you used in the above post. I used this until a crash a few months ago and have lost it and its name.

    Thanks.
      My ComputerSystem Spec

  10.    22 Aug 2017 #20

    Hello Stevekir,

    It's "FastStone Capture" (not free).
      My ComputerSystem Spec


 
Page 2 of 3 FirstFirst 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 00:16.
Find Us