develooper Front page | perl.beginners | Postings from February 2002

Getting CD volume info

Dermot Paikkos
February 13, 2002 05:34
Getting CD volume info
Message ID:
Hi Guru's,

sys stuff:
perl win32, Active perl build 626.

I have a script that I use to extract files from a CD (drive f: on my 
PC). Each CD is labelled when it is burnt and I am after a way to get 
the volume label.

I thought stat or lstat might do it but it is not giving me the CD 
volume name.

Is there some way to get the CD name through perl.


Dermot Paikkos *
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About