Aide:DriveSpaceTotal.txt

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

Document original V3.3.6.1 :

###Function###
DriveSpaceTotal

###Description###
Returns the total disk space of a path in Megabytes.

###Syntax###
DriveSpaceTotal ( "path" )


###Parameters###
@@ParamTable@@
path
	Path of drive to receive information from.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns diskspace in Megabytes as a float number.
Failure:	Sets @error to 1.
@@End@@


###Remarks###
DriveSpaceTotal may even work when a complete directory path (that exists) is given.  However, a file path won't work.

###Related###
DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSetLabel, DriveSpaceFree, DriveStatus, FileGetSize


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


Document traduit V3.3.6.1 :

###Function###
DriveSpaceTotal


###Description###
Retourne l'espace disque total d'un lecteur en Méga-octet.


###Syntax###
DriveSpaceTotal ( "path" )


###Parameters###
@@ParamTable@@
path
	Le chemin sur lequel agir.
@@End@@


###ReturnValue###
@@ReturnTable@@

Succès:	Retourne l'espace total du lecteur en Méga-octets comme nombre flottant.
Échec:	Retourne 0 et met @error à 1.


###Remarks###
DriveSpaceTotal peut fonctionner même si le chemin donné est celui d'un répertoire existant sur le lecteur. Un chemin vers un fichier ne fonctionnera pas.
Utilisez la fonction Round pour obtenir une valeur arrondie.


###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="DriveSetLabel.htm">DriveSetLabel</a>, <a href="DriveSpaceFree.htm">DriveSpaceFree</a>, <a href="DriveStatus.htm">DriveStatus</a>, <a href="FileGetSize.htm">FileGetSize</a>


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


Traducteur : ZDS

Contributeurs (pour les modifications avant le Wiki) : Jerome, zarnergun, Tlem