{"id":28833,"date":"2006-12-05T07:00:00","date_gmt":"2006-12-05T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2006\/12\/05\/how-do-i-find-all-files-with-at-least-one-space-in-their-name\/"},"modified":"2006-12-05T07:00:00","modified_gmt":"2006-12-05T07:00:00","slug":"how-do-i-find-all-files-with-at-least-one-space-in-their-name","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20061205-00\/?p=28833","title":{"rendered":"How do I find all files with at least one space in their name?"},"content":{"rendered":"<p>\nYou already know how to do this,\nyou just don&#8217;t realize it.\n<\/p>\n<p>\nHow do you find files with an &#8220;x&#8221; in their name?\nThat&#8217;s right, you use <code>dir *x*<\/code>.\n<\/p>\n<p>\nNow you just have to change that x to a space.\nAnd since spaces are command line delimiters, you need to quote\nthe sequence so it gets treated as a single parameter\nrather than two &#8220;*&#8221; parameters:\n<\/p>\n<pre>\ndir \"* *\"\n<\/pre>\n<p>\nStick in a <code>\/s<\/code> if you want to search recursively.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You already know how to do this, you just don&#8217;t realize it. How do you find files with an &#8220;x&#8221; in their name? That&#8217;s right, you use dir *x*. Now you just have to change that x to a space. And since spaces are command line delimiters, you need to quote the sequence so it [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-28833","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>You already know how to do this, you just don&#8217;t realize it. How do you find files with an &#8220;x&#8221; in their name? That&#8217;s right, you use dir *x*. Now you just have to change that x to a space. And since spaces are command line delimiters, you need to quote the sequence so it [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/28833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=28833"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/28833\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=28833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=28833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=28833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}