If you’ve ever wanted to print a text listing of files in a Windows folder, this week’s tip is for you. First, create a simple batch file (you can put it in your Windows folder) called filelisting.bat with a single line in it (without the quotes): “dir /a /b /-p /o:gen >filelisting.txt”. Then modify the Folder context menu so that your batch file displays whenever you right-click on a folder in Explorer. For complete instructions, read The Elder Geek.
Cite This Page
Feldman, Barbara. "How to Get Text Listing of a Folder’s Contents." Surfnetkids. Feldman Publishing. 15 Apr. 2008. Web. 21 Nov. 2014. <http://www.surfnetkids.com/tech/303/how-to-get-text-listing-of-a-folders-contents/ >.