Aide:DriveSpaceFree.txt

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

Document original V3.3.6.1 :

###Function###
DriveSpaceFree

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

###Syntax###
DriveSpaceFree ( "path" )


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

###ReturnValue###
@@ReturnTable@@
Success:	Returns free disk space in Megabytes as a float number.
Failure:	Returns 0 and sets @error to 1.
@@End@@


###Remarks###
DriveSpaceFree may even work when a complete directory path (that exists) is given.  However, a file path won't work.
Use the Round function if the return value is too precise.

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


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


Document traduit V3.3.6.1 :

###Function###
DriveSpaceFree


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


###Syntax###
DriveSpaceFree ( "path" )


###Parameters###
@@ParamTable@@
path
	Chemin du disque dont on veut les informations.
@@End@@


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

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


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


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


Traducteur : ZDS

Contributeurs (pour les modifications avant le Wiki) : Tlem