Extracting the name of a CD for an archiving macro

Posted by Gareth Howell on
URL: http://imagej.273.s1.nabble.com/Extracting-the-name-of-a-CD-for-an-archiving-macro-tp5004769.html

H, I'm looking for a bit of help on a small cataloging macro I'm writing. We have thousands of images spread across loads of CDs and external drives which make them very hard to search for data. I am trying to write a macro to undertake the archiving of these CDs. The problem I have is getting the CD name from the CD. Using getDirectory I can map to the drive (e.g. E:, not a lot of use!) and get subfolder names etc but not the name of the CD (e.g BMBGJH_CD133). Can anyone help? Is there a 'get' command I can use? Of use maybe is that the name of the CD is burned as a text file on the CD; can I extract that?
Thanks in advance for your help.

Gareth
University of Leeds