{"id":8885,"date":"2014-12-30T11:07:54","date_gmt":"2014-12-30T16:07:54","guid":{"rendered":"http:\/\/thundercloud.net\/infoave\/new\/?p=8885"},"modified":"2014-12-30T11:12:47","modified_gmt":"2014-12-30T16:12:47","slug":"print-a-listing-of-files-in-any-directory-or-drive-using-the-windows-command-prompt","status":"publish","type":"post","link":"https:\/\/www.thundercloud.net\/infoave\/new\/print-a-listing-of-files-in-any-directory-or-drive-using-the-windows-command-prompt\/","title":{"rendered":"Print a Listing of Files in any Directory or Drive Using the Windows Command Prompt"},"content":{"rendered":"<h1><a href=\"http:\/\/goo.gl\/vhIxKu\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-8887\" src=\"http:\/\/thundercloud.net\/infoave\/new\/wp-content\/uploads\/2014\/12\/listprint.png\" alt=\"listprint\" width=\"192\" height=\"161\" \/><\/a>Print a Listing of Files in any Directory or Drive Using the Windows Command Prompt<\/h1>\n<p>Sometimes you may find it useful to print a list of files in a directory. And we know there are several software applications that perform this task. But you don&#8217;t have to download or install anything to create a directory listing &#8211; all you need is a little time and the command prompt.<\/p>\n<p><strong>Step #1:<\/strong> \u00a0Using Windows Explorer navigate to the directory (folder) which contains the files of which you which you wish to print a list. In the example below, we&#8217;ve navigated to our G:\\ drive &#8211; because that&#8217;s the directory (folder; drive) we want to print a listing of:<\/p>\n<div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list.png\" alt=\"\" width=\"393\" height=\"161\" \/><\/p>\n<p><strong>Step #2:<\/strong> We put our cursor in the address line until just the just the Directory G:\\ shows then type CMD over it (see below):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list2a.png\" alt=\"\" width=\"338\" height=\"161\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list1.png\" alt=\"\" width=\"328\" height=\"156\" \/><\/p>\n<p><strong>Step #3<\/strong>: Press &#8220;Enter&#8221; and the command prompt will open to G:\\ drive. It does not have to be a drive; it could be any folder &#8211; like Pictures or Music or Program Files, capiche?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list2.png\" alt=\"\" width=\"640\" height=\"359\" \/><\/p>\n<p><strong>Step #4:<\/strong> With the command prompt opened to the directory we want to print we type the following command:<\/p>\n<p><strong>DIR G:\\ &gt; MY_DIRECTORY_LIST.TXT\u00a0<\/strong><\/p>\n<p>You don&#8217;t have to call your file MY_DIRECTORY_LIST.TXT you can call it anything you want &#8211; as long as the name has no spaces in it (and no special characters like $, &amp;, %, etc.)<\/p>\n<p><strong>Step #5:<\/strong> Press &#8220;Enter&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list3.png\" alt=\"\" width=\"600\" height=\"303\" \/><\/p>\n<p>You won&#8217;t see anything happen. But it&#8217;s time to look at your handiwork anyway. So navigate to the directory you want to print and you&#8217;ll see the text file you created above.<\/p>\n<p>Locate the file you just created<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list4.png\" alt=\"\" width=\"598\" height=\"147\" \/><\/p>\n<p>Double-click to open it.<\/p>\n<p>And there&#8217;s your text file &#8211; all ready to print (see below).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/thundercloud.net\/infoave\/images\/2015\/dir_list5.png\" alt=\"\" width=\"599\" height=\"452\" \/><\/p>\n<p>You can do this with any folder (directory) or drive. And though it looks like it&#8217;s a lot of work it took less than two minutes to print the directory list of drive G.<\/p>\n<p>This tip works on Windows XP, Windows Vista, Windows 7, Windows 8.x, and Windows 10. Try it &#8211; you just might like it &#8211; and even if you don&#8217;t you&#8217;ve learned something new.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Print a Listing of Files in any Directory or Drive Using the Windows Command Prompt Sometimes you may find it useful to print a list of files in a directory. And we know there are several software applications that perform this task. But you don&#8217;t have to download or install anything to create a directory listing &#8211; all\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.thundercloud.net\/infoave\/new\/print-a-listing-of-files-in-any-directory-or-drive-using-the-windows-command-prompt\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/8885"}],"collection":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/comments?post=8885"}],"version-history":[{"count":4,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/8885\/revisions"}],"predecessor-version":[{"id":8891,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/posts\/8885\/revisions\/8891"}],"wp:attachment":[{"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/media?parent=8885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/categories?post=8885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thundercloud.net\/infoave\/new\/wp-json\/wp\/v2\/tags?post=8885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}