Windows volume labels

andrew brian clegg a.clegg@mail.cryst.bbk.ac.uk
Wed Apr 23 17:25:00 GMT 2003


Hi folks,

Apologies if this is well-documented but I can't find an answer in the 
usual places.

Is there a cygwin-friendly way of retrieving the volume label for a 
particular drive (or for all drives) in e.g. a perl or shell script? Short 
of running Windows' dir.exe on the appropriate drive and parsing the 
result!

Or would I have to use the Windows API?

Cheers,

Andrew.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list