listing files on a CD

W

windsurferLA

I have transferred numerous musical selections into the .mp3 format (in
a manner compliant with the “fair use” copyright restrictions) to CD’s.
A typical CD can contain over 100 mp3 files. I want to be able to
collect the names of those files, so the names can be suitably formatted
and printed as a list.

Microsoft’s knowledge base at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q321379
describes a technique for activating a .bat file to present a list of
the files in the current directory. An example of a suitable .bat file is:

@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit

The file is activated from a right click menu item.

The approach works just fine on directories within a drive, but not on a
drive itself. For example, if in drive D:\ there is the directory
Music, i.e. D:\music, it will list all of the files in the directory
music. However, it will not list the files on the D:\ drive root
directory. This presents a problem when the CD consists of MP3 files
placed in the root directory to facilitate player compatibility. i.e.
The directory of the D:\ drive looks like:

D:\Music1.mp3
D:\Music2.mp3
Etc.

How can I collect the names of the files in the root directory on a CD?

Are there “switches” that will allow me to also collect the meta data
such as artist name?
 
P

Pegasus \(MVP\)

windsurferLA said:
I have transferred numerous musical selections into the .mp3 format (in
a manner compliant with the “fair use” copyright restrictions) to CD’s.
A typical CD can contain over 100 mp3 files. I want to be able to
collect the names of those files, so the names can be suitably formatted
and printed as a list.

Microsoft’s knowledge base at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q321379
describes a technique for activating a .bat file to present a list of
the files in the current directory. An example of a suitable .bat file is:

@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit

The file is activated from a right click menu item.

The approach works just fine on directories within a drive, but not on a
drive itself. For example, if in drive D:\ there is the directory
Music, i.e. D:\music, it will list all of the files in the directory
music. However, it will not list the files on the D:\ drive root
directory. This presents a problem when the CD consists of MP3 files
placed in the root directory to facilitate player compatibility. i.e.
The directory of the D:\ drive looks like:

D:\Music1.mp3
D:\Music2.mp3
Etc.

How can I collect the names of the files in the root directory on a CD?

Are there “switches” that will allow me to also collect the meta data
such as artist name?

If you know the CD drive letter then you can modify the
batch file like so:

@echo off
dir d:\ /s /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
 
D

Darrell S

windsurferLA said:
I have transferred numerous musical selections into the .mp3 format
(in a manner compliant with the “fair use” copyright restrictions) to
CD’s. A typical CD can contain over 100 mp3 files. I want to be
able to collect the names of those files, so the names can be
suitably formatted and printed as a list.

Microsoft’s knowledge base at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q321379
describes a technique for activating a .bat file to present a list of
the files in the current directory. An example of a suitable .bat
file is:
@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit

The file is activated from a right click menu item.

The approach works just fine on directories within a drive, but not
on a drive itself. For example, if in drive D:\ there is the
directory Music, i.e. D:\music, it will list all of the files in the
directory
music. However, it will not list the files on the D:\ drive root
directory. This presents a problem when the CD consists of MP3 files
placed in the root directory to facilitate player compatibility. i.e.
The directory of the D:\ drive looks like:

D:\Music1.mp3
D:\Music2.mp3
Etc.

How can I collect the names of the files in the root directory on a
CD?
Are there “switches” that will allow me to also collect the meta data
such as artist name?

The easiest way is to download Karen's Directory Printer (free) at
http://www.karenware.com/powertools/ptdirprn.asp

What I do is use this tool to make a list of filenames in a folder
(directory) and sub-folders. Since a CD or DVD can hold lots of files I
then manipulate the filelist to make it smaller to hold more data.

From this program I copy/paste it into MS Word. I then use the
Search/Replace function to get rid of things I don't need. For example I
know they're all .mp3 files so I don't need that info. I do a global search
for .mp3 and leave the replace blank. That way is simply does a global
delete of all .mp3 text. Now it shows a file as I.E. Frank Sinatra - My
Way.

I usually burn my CDs with artist folders. That is a folder named Frank
Sinatra contains all the Frank Sinatra files. So I do a search for Frank
Sinatra within that folder and replace it with nothing (blank). That just
leaves "My Way" as the songname under the Frank Sinatra folder. (you
actually select all the songs under Frank Sinatra and do them all at once.)
Then I select it all and reduce the font size to get more stuff on one page.
It also makes it small enough to use columns on a page. I've been able to
get a whole CD listing on one standard size page. Well over 100 songs.
Fold it twice and slip it into the envelope with the CD.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top