win32api.GetVolumeInformation

tuple = GetVolumeInformation(path)

Returns information about a file system and colume whose root directory is specified.

Parameters

path : string

The root path of the volume on which information is being requested.

Return Value

The return is a tuple of:
string - Volume Name
long - Volume serial number.
long - Maximum Component Length of a file name.
long - Sys Flags - other flags specific to the file system. See the api for details.
string - File System Name