{"id":10044,"date":"2019-06-29T06:45:26","date_gmt":"2019-06-29T01:15:26","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=10044"},"modified":"2023-08-02T20:38:06","modified_gmt":"2023-08-02T15:08:06","slug":"search-for-files-with-specific-extension","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/search-for-files-with-specific-extension\/","title":{"rendered":"How to Search for files with a specific extension in Windows?"},"content":{"rendered":"<p>A reader wanted to know how to use Windows Search to search for all files in a specific folder and its subfolders with the file extension <code>.doc<\/code>. This article tells you how to search for a specific file type suing wild card or <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/desktop\/lwef\/-search-2x-wds-aqsreference\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Advanced Query Syntax<\/a> (AQS).<\/p>\n<p>If you just <code>doc<\/code> in the search bar in File Explorer, it lists all the that contain the word <code>doc<\/code>, not necessarily with that file extension, including folders named <code>doc<\/code> and file properties containing the word <code>doc<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10047\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/search-files-specific-extension.png\" alt=\"search for files specific extension windows\" width=\"701\" height=\"352\" \/><\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/search-files-created-between-date-range\/\">How to Search for Files Created Between Two Dates in Windows<\/a><\/div>\n<h2>How to Search for files with a specific extension<\/h2>\n<p>To search for files with a specific file extension and not other files which contain that extension in their name, use one of the search syntaxes (e.g., to find <code>.doc<\/code> files) below:<\/p>\n<pre>*.doc\r\n\r\next:.doc<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10046\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/search-files-specific-extension-2.png\" alt=\"search for files specific extension windows\" width=\"701\" height=\"266\" \/><\/p>\n<p>However, if you use the above search query, it lists <code>.docx<\/code> files in addition to <code>.doc<\/code><\/p>\n<p>To strictly narrow down the results to .doc files only, enclose the file extension within double-quotes, like below:<\/p>\n<pre>*\".doc\"\r\n\r\next:\".doc\"<\/pre>\n<p>Here you go!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10045\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/search-files-specific-extension-3.png\" alt=\"search for files specific extension windows\" width=\"701\" height=\"266\" \/><\/p>\n<p><strong>Additional Tip:<\/strong> You can also search for files by a specific &#8220;<strong>kind<\/strong>&#8221; &#8212; e.g., picture, video, contacts, document, folder, etc.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/search-files-specific-kind.png\" alt=\"search for files specific extension windows\" width=\"351\" height=\"223\" class=\"alignnone size-full wp-image-10048\" \/><\/p>\n<p>The <strong>kind<\/strong> of a file type is determined from the <code>KindMap<\/code> registry key below (and maybe from the <code>PerceivedType<\/code> registry value defined for each file type.) which stores the list of file extensions along with the corresponding <code>kind<\/code> info.<\/p>\n<pre>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\KindMap<\/pre>\n<div class=\"rp\"><strong>RELATED:<\/strong> Check out the related article <a href=\"https:\/\/www.winhelponline.com\/blog\/divx-flv-files-search-kind-perceivedtype-video\/\">.Divx and .Flv Files Not Found When Searched by Kind &#8220;Video&#8221;<\/a><\/div>\n<p>Hope that helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A reader wanted to know how to use Windows Search to search for all files in a specific folder and its subfolders with the file extension .doc. This article tells you how to search for a specific file type suing wild card or Advanced Query Syntax (AQS). If you just doc in the search bar &#8230; <a title=\"How to Search for files with a specific extension in Windows?\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/search-for-files-with-specific-extension\/\" aria-label=\"Read more about How to Search for files with a specific extension in Windows?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[683],"class_list":["post-10044","post","type-post","status-publish","format-standard","hentry","category-windows","tag-windows-search"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5894,"url":"https:\/\/www.winhelponline.com\/blog\/search-contents-of-any-file-windows-search-indexing\/","url_meta":{"origin":10044,"position":0},"title":"How to Search the Contents of Any File Type Using Windows Search","author":"Ramesh","date":"November 1, 2017","format":false,"excerpt":"Windows Search and its Advanced Query Syntax (AQS) is a freaking awesome feature in Windows. It lets you quickly find a particular file or group of files with a specific name or metadata, in a folder and sub-folders. Along with indexing file properties or metadata, most known plain-text files are\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"indexing options start menu search","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/indexing-options.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10144,"url":"https:\/\/www.winhelponline.com\/blog\/how-to-batch-convert-word-documents-into-pdf-files\/","url_meta":{"origin":10044,"position":1},"title":"How to Batch Convert Word Documents into PDF Files","author":"Ramesh","date":"July 3, 2019","format":false,"excerpt":"Microsoft Word is a top-notch word processor using which you can save documents in .doc, .docx, and different other formats. When you need to send a document to someone who doesn't have Office Word installed, you usually convert the document to PDF and send it. As you may have known,\u00a0Microsoft\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"batch convert word documents to pdf","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":735,"url":"https:\/\/www.winhelponline.com\/blog\/search-files-created-between-date-range\/","url_meta":{"origin":10044,"position":2},"title":"How to Search for Files Created Between Two Dates in Windows","author":"Ramesh","date":"October 16, 2008","format":false,"excerpt":"Windows Search's Advanced Query Syntax (AQS) can be used to narrow or pinpoint your searches in Windows. Searches can be narrowed by file type, kind, file property, file extension, date, and other parameters. This post tells you how to use Windows Search to find files created, accessed, or modified within\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/date-range-search-aqs2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/date-range-search-aqs2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/date-range-search-aqs2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/10\/date-range-search-aqs2.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":9810,"url":"https:\/\/www.winhelponline.com\/blog\/word-docx-doc-files-show-generic-white-icon\/","url_meta":{"origin":10044,"position":3},"title":".Docx\/Doc Files Not Showing Word Icon but Only White Plain Icon","author":"Ramesh","date":"June 16, 2019","format":false,"excerpt":"Many users have reported that the Word icons are not showing up for .docx and .doc files on their systems. Instead, they show up with a generic (unknown) or plain white icon even though the files open in Word when double-clicked (i.e., the file association settings are intact.) Cause Blank\u2026","rel":"","context":"In &quot;Office&quot;","block_context":{"text":"Office","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/office\/"},"img":{"alt_text":"word .docx and .doc files show generic white icon - repair office","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/06\/office-repair.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9357,"url":"https:\/\/www.winhelponline.com\/blog\/find-and-delete-zero-byte-files-recursively-windows\/","url_meta":{"origin":10044,"position":4},"title":"How to Delete Empty files (0 byte) in Windows?","author":"Ramesh","date":"May 18, 2019","format":false,"excerpt":"Some applications create empty 0-byte files in their data folders and fail to clear them up. Over time, if you see many zero-byte files in a folder hierarchy, here are some methods to find all those 0-byte files and delete them. Find and\/or delete empty (0 byte) files in Windows:\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"delete empty files recursively","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":24403,"url":"https:\/\/www.winhelponline.com\/blog\/disable-preview-pane-file-types-explorer\/","url_meta":{"origin":10044,"position":5},"title":"How to Disable Preview for Certain File Types in Explorer Preview Pane","author":"Ramesh","date":"October 15, 2021","format":false,"excerpt":"The preview pane in File Explorer shows you the preview for various file types in Windows 10 and Windows 11. Windows comes with a built-in set of preview handlers. In addition, third-party applications add their own handlers that can generate previews for their proprietary file types. Windows allows you to\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"disable preview for selected file type","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/disable-preview-pane-file-type-0.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/disable-preview-pane-file-type-0.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/10\/disable-preview-pane-file-type-0.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=10044"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/10044\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=10044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=10044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=10044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}