Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32file
>
SetVolumeLabel
win32file
.SetVolumeLabel
SetVolumeLabel(
rootPathName
, volumeName
)
Sets a volume label for a disk drive.
Parameters
rootPathName
:
PyUnicode
address of name of root directory for volume
volumeName
:
PyUnicode
name for the volume