Otherwise I found this free program that will do it for you. Just point it to the letter of your cd drive and hit "start" and it sticks all the filenames into a text file for you. I tried it and it works great. You can even edit how the files are displayed under the "display" tab.
http://www.spadixbd.com/freetools/jdirprint.htm
Mike