{"id":198,"date":"2012-10-10T15:33:02","date_gmt":"2012-10-10T14:33:02","guid":{"rendered":"http:\/\/www.sebcharrot.com\/blog\/?p=198"},"modified":"2012-10-10T15:33:02","modified_gmt":"2012-10-10T14:33:02","slug":"recursively-list-all-files-in-windows","status":"publish","type":"post","link":"http:\/\/www.sebcharrot.com\/blog\/recursively-list-all-files-in-windows\/","title":{"rendered":"Recursively list all files in Windows"},"content":{"rendered":"<p><a href=\"http:\/\/www.sebcharrot.com\/blog\/2012\/recursively-list-all-files-in-windows\/commandline\" rel=\"attachment wp-att-250\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-250\" src=\"http:\/\/45.77.89.248\/blog\/wp-content\/uploads\/2012\/10\/commandline.png\" alt=\"\" width=\"677\" height=\"318\" srcset=\"http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2012\/10\/commandline.png 677w, http:\/\/www.sebcharrot.com\/blog\/wp-content\/uploads\/2012\/10\/commandline-300x141.png 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You&#8217;re probably familiar with dir, the windows command which lists all files in a certain directory.<\/p>\n<p>If you ever find the need (as I have) to recursively list every file in a directory, as well as all its sub-directories, you can do this by setting a couple of parameters on the dir command.<\/p>\n<pre>dir \/s \/b<\/pre>\n<p>Warning: This will output a lot of stuff, so I&#8217;d recommend piping the output to a file.<\/p>\n<pre>dir \/s \/b &gt; output.txt<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; You&#8217;re probably familiar with dir, the windows command which lists all files in a certain directory. If you ever find the need (as I have) to recursively list every file in a directory, as well as all its sub-directories, you can do this by setting a couple of parameters on the dir command. dir&hellip;&nbsp;<a href=\"http:\/\/www.sebcharrot.com\/blog\/recursively-list-all-files-in-windows\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Recursively list all files in Windows<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"categories":[23,15],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts\/198"}],"collection":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sebcharrot.com\/blog\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}