0

A list of files

Posted April 9th, 2008 in Archive by Darfuria

Have you ever wanted to fill in one of those boxes on MySpace with all of the music you listen to, or simply show off your MP3 collection to a friend without screenshotting? I wanted to list all of the artists in my MP3 folder today, so I did a little bit of exploring with my good friend command prompt, and after about 30 seconds, came up with the following solution:

First you’ll need to navigate command prompt the directory you want to list. If this is on the C:\ drive then you can simply type something along the lines of

cd C:\folder\folder\folder\folder

and hit return. You might need to do it one folder at a time, I don’t know. If the directory is on a different drive, simply type

#:\

and hit return, and then the above. Once you have navigated to the folder on your drive (which was E:\Audio\Music\ for me), simply type the following:

dir /b > C:\list.txt

and hit return. Open up your C:\ drive, there should be a text file called “list”. Open it, and with any luck it will have given you a basic listing of the files and folders in the directory you were in.

Leave a Reply