{"id":215,"date":"2025-11-16T20:24:08","date_gmt":"2025-11-16T20:24:08","guid":{"rendered":"https:\/\/securitygems.com\/?p=215"},"modified":"2025-11-16T20:24:08","modified_gmt":"2025-11-16T20:24:08","slug":"robocopy-to-list-all-files-on-a-drive","status":"publish","type":"post","link":"https:\/\/securitygems.com\/?p=215","title":{"rendered":"robocopy to list all files on a drive"},"content":{"rendered":"\n<p>you can use a command like this:<\/p>\n\n\n\n<p><code>robocopy f:\\ C:\\temp \/E \/L \/NDL \/FP \/NC \/TS \/xjd > c:\\temp\\robocopy-list-drive-f.txt<\/code><\/p>\n\n\n\n<p>This doesn&#8217;t copy any files, just creates a file with the list of all files.<\/p>\n\n\n\n<p>The \/xjd is important to avoid multiple nested folder links from repeating.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>you can use a command like this: robocopy f:\\ C:\\temp \/E \/L \/NDL \/FP \/NC \/TS \/xjd > c:\\temp\\robocopy-list-drive-f.txt This doesn&#8217;t copy any files, just creates a file with the list of all files. The \/xjd is important to avoid multiple nested folder links from repeating.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":1,"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/securitygems.com\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/securitygems.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}