| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Wed, 23 Apr 2003 14:54:07 +0100 (BST) |
| From: | andrew brian clegg <a DOT clegg AT mail DOT cryst DOT bbk DOT ac DOT uk> |
| X-X-Sender: | fcleg01 AT sark DOT cryst DOT bbk DOT ac DOT uk |
| To: | cygwin AT cygwin DOT com |
| Subject: | Windows volume labels |
| Message-ID: | <Pine.LNX.4.44.0304231449440.28614-100000@sark.cryst.bbk.ac.uk> |
| MIME-Version: | 1.0 |
| X-MailScanner-Information: | Please contact CCSG (http://www.cryst.bbk.ac.uk/CCSG/) more information |
| X-MailScanner-cryst-bbk: | Found to be clean |
| X-MailScanner-SpamCheck: | not spam, SpamAssassin (score=-11.6, required 10, |
| BAYES_01, FROM_ENDS_IN_NUMS, USER_AGENT_PINE) | |
| Note-from-DJ: | This may be spam |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |