# Funktionsreferenz

DriveSetLabel

Sets the Volume Label of a drive.

DriveSetLabel ( "path", "label" )

Parameter

path | Path of drive to change.
label | New volume label for the drive. (11 characters is usually max length)

Bemerkungen

Most hard drives have a maximum label length of 11 characters, and DriveSetLabel will fail if max length is exceeded. Also, FAT32 partition labels tend to revert to all capital letters.

Siehe auch

DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSpaceFree, DriveSpaceTotal, DriveStatus

Beispiel

DriveSetLabel("C:\", "New_Label")