How to get volume name under Win32?
dale at out-think.NOSPAMco.uk
Fri May 19 02:47:02 CEST 2000
In article <8g1tn6$cf2$1 at supernews.com>,
"Dale Strickland-Clark" <dale at out-think.NOSPAMco.uk> wrote:
I can't find a function that'll tell me the volume name for a given drive
letter - on NT / Win2000
Can anyone help?
# not sure why it's in win32api and not win32file
import win32api vi = win32api.GetVolumeInformation("c:") print vi
# see microsoft docs for GetVolumeInformation details
can't post to c.l.p;
news.pacbell.net is way sick and deja.com is offline,
so here's an email instead
Out-Think Ltd, UK
Business Technology Consultants
Dale Strickland-Clark <dale at out-think.NOSPAMco.uk> wrote in message
news:8g1tn6$cf2$1 at supernews.com...
> I can't find a function that'll tell me the volume name for a given drive
> letter - on NT / Win2000
> Can anyone help?
> Dale Strickland-Clark
> Out-Think Ltd, UK
More information about the Python-list