I needed a way to retrieve a list of files in my folders (for cataloging my mp3’s) in Windows 10, so I dug around on google and it took awhile to piece together some steps, because all the info I found seemed to be geared for older versions of Windows, and not Windows 10. So since I put these steps together for myself that worked for me, I thought I would share them incase anyone else may have a similar need to make lists of your files. As I mentioned I am using this trick to make lists of my music files, but some other good uses for this may be to list your school documents or financial spreadsheets you’ve created, or maybe to make a list of all your pdf’s.
Remember this trick is for Windows 10. It may work on older versions of Windows, but if not, just google instructions if you’re still running any Windows version before 10, and please note I am not a computer wizard. These are just steps that I pieced together from various sources online that worked for what I needed.
1. Open Windows Explorer to the folder you wish to retrieve a list of files for.
2. Press Alt + d (the address bar in Windows Explorer will highlight).
3. Type “cmd” (without quotations) and press Enter (this will open a new Command Prompt Window).
4. Copy and paste the following “dir /b > dirlist.txt” (without quotations) and press Enter (tip – copy that before doing step 3).
5. You will now find a “dirlist.txt” text file in your folder which contains a list of all files in your folder.
By the way, this is actually an old Command Prompt trick. I was shocked I had to search so much to put the steps together for Windows 10. There may be some software out there that can automate this process, however I am unable to provide any info at this time for an automated process system for something Microsoft should incorporate into Windows to start with.
I hope you find these steps helpful for making lists of your files. Please feel free to post these steps on your blog or website, but I would appreciate a link back to this post as your source for the information since it took some trial and error for me to make this work in Windows 10. Thank you!