win32file.SetVolumeLabel

SetVolumeLabel(rootPathName, volumeName)

Sets a volume label for a disk drive.

Parameters

rootPathName : string

address of name of root directory for volume

volumeName : string

name for the volume