vendredi 3 mars 2023

Wildcards avec Windows Search

 
https://docs.microsoft.com/en-us/windows/win32/lwef/-search-2x-wds-aqsreference
 
WindowsSearch.exe
*.pp  OR *.doc OR xls OR *.pdf 
 
·         If searching for names with special characters normally used in search syntax, the text must me enclosed in quotes:
name:"(8).txt"
·         But if you try the above with wildcards, you'll be disappointed. For wildcards to be used within quoted strings, you have to use a tilde ':~':
name:~"*(*)*" <- any item with parentheses in name.
·         To search for empty properties, use empty square brackets:
ext:.jpg DateTaken:[]
 
File Explorer Advanced Query Syntax Search
store:desktop   Limit your search to the desktop
store:files            Limit your search to Files
store:outlook    Limit your search to Outlook
store:oe               Limit your search to Outlook Express
*.file_extension Search for a files with a specific extension
kind:everything Search all file types
kind:communications     Search communication files
kind:contacts     Search contacts
kind:email           Search emails
kind:im Search instant messaging conversations
kind:meetings   Search meetings
kind:tasks            Search tasks
kind:notes          Search notes
kind:documents               Search documents
kind:text              Search text documents
kind:spreadsheets           Search spreadsheet files
kind:presentations          Search presentation files
kind:music          Search music files
kind:pics              Search picture files
kind:videos         Search video files
kind:folders        Search folders
kind:favorites    Search favorites
kind:programs   Search program files
date:today, date:tomorrow, date:yesterday        Search for items with a specific date
modified:last week         Search for items by modification date
size:>40, size:     Search for items by size
File Explorer Search Using Boolean Operators
Keyword 1 NOT keyword 2           Results with keyword 1 but not keyword 2
Keyword 1 OR keyword 2              Results with keyword 1 or keyword 2
Keyword 1           Results with the exact phrase "keyword 1"
(Keyword 1 keyword 2)  Results with keyword 1 and keyword 2 in any order