This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Windows volume labels
- From: andrew brian clegg <a dot clegg at mail dot cryst dot bbk dot ac dot uk>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Apr 2003 14:54:07 +0100 (BST)
- Subject: 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/