This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Windows volume labels


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]