Search form

You are here

Print Music Filenames?

by Dennis Faas on September, 9 2003 at 08:09AM EDT

Infopackets Reader Chris L. writes:

" Dear Dennis,

I need your help please! I have all of my music files on in 1 folder, and I want to print all the file names for future reference. Do you know how I can do this? Thank you very much for your time and help. "

My response:

A simple DOS command (Disk Operating System) can capture the file names in a directory... which can be saved into a text file, and printed on paper.

This may not be the easiest method available, but it's certainly quick and dirty and won't take long to do.

Ensure that your Path is displayed in the Address bar in an Explorer Window. To do this: navigate to the folder which has all of your music, and Click View -> Folder Options (Win9x / ME) or Tools -> Folder Options (Win2k / XP) and then click the View tab. Make sure that "Display full path in address bar" has a checkmark beside it and click OK. This will display where your files are stored on the hard drive. Example: "C:\my documents\shared folder\music" is a "path" and will appear in the window which lists all your music files.

Go back to the folder which has your music files and note the Path which is located in the address bar of the Window. Highlight the path by left-clicking all the text with your mouse, and then Copy it into your clipboard using Edit -> Copy from the menu.

Once the DOS prompt appears, type in: cd "<<SHIFT + INSERT>>" Ensure that a space follows the CD command, and that you use quotes surround the path, or the trick won't work. Example: cd "C:\my documents\shared folder\music" Once the command has been entered, press Enter on your keyboard. If SHIFT + INSERT doesn't output anything, right-click on your mouse to Paste the path. If nothing appears (still), you may also need to copy the path into your clipboard again.

If the command was entered successfully, you won't get an error message. When you're ready for the next step, type in: dir /b >files.txt ... and press Enter on your keyboard. Again, if the command was done successfully, you won't get an error message. The above command will get a "bare" directory of your music files and place the output into a file called "files.txt".

Close the command prompt window and navigate to your music folder once more. Look for a new file called "files.txt" and open it up into Notepad and print the file.

If you want to save paper and print in two columns, consider using Microsoft Excel (which comes with MS Office) to paste your information accordingly.

Of course, there's probably an easier way to do this.

If you know of freeware software which can easily print music filenames (in more than 1 column), please drop me a line!