Aide:DriveSetLabel.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
DriveSetLabel

###Description###
Sets the Volume Label of a drive.

###Syntax###
DriveSetLabel ( "path", "label" )


###Parameters###
@@ParamTable@@
path
	Path of drive to change.
label
	New volume label for the drive.  (11 characters is usually max length)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0.
@@End@@


###Remarks###
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.


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


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
DriveSetLabel 

###Description###
Définit le nom de volume d'un lecteur.


###Syntax###
DriveSetLabel ( "path", "label" )


###Parameters###
@@ParamTable@@
path 
	Chemin du lecteur à modifier.
label
	Nouveau nom de volume du lecteur. (la longueur max habituelle est de 11 caractères)
@@End@@


###ReturnValue###
Succès:	Retourne 1.
Échec:	Retourne 0.


###Remarks###
La plupart des disques durs ont une longueur de nom maximale de 11 caractères et DriveSetLabel échouera si la longueur maximale est dépassée. De plus, les noms des partitions FAT32 ont tendance à revenir en lettres majuscules.


###Related###
<a href="DriveGetDrive.htm">DriveGetDrive</a>, <a href="DriveGetFileSystem.htm">DriveGetFileSystem</a>, <a href="DriveGetLabel.htm">DriveGetLabel</a>, <a href="DriveGetSerial.htm">DriveGetSerial</a>, <a href="DriveGetType.htm">DriveGetType</a>, <a href="DriveSpaceFree.htm">DriveSpaceFree</a>, <a href="DriveSpaceTotal.htm">DriveSpaceTotal</a>, <a href="DriveStatus.htm">DriveStatus</a>


###Example###
@@IncludeExample@@


Traducteur : Strofe

Contributeurs (pour les modifications avant le Wiki) : Tlem