Internet Tip

How to Get Text Listing of a Folder’s Contents

by on April 15, 2008



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.



More posts like this one in File Formats.


Comments on this entry are closed.

Previous post:

Next post: