Aide:DriveStatus.txt

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

Document original V3.3.6.1 :

###Function###
DriveStatus

###Description###
Returns the status of the drive as a string.

###Syntax###
DriveStatus ( "path" )


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

###ReturnValue###
@@ParamTable@@
<b>Value</b>
	<b>Interpretation</b>
UNKNOWN
	Drive may be unformatted (RAW).
READY
	Typical of hard drives and drives that contain removable media.
NOTREADY
	Typical of floppy and CD drives that do not contain media.
INVALID
	May indicate the drive letter does not exist or that a mapped network drive is inaccessible.
@@End@@


###Remarks###
The list of possible return values may be incomplete.
DriveStatus may even work when a complete directory path (which exists) is given.  However, a file path won't work.

###Related###
DriveGetDrive, DriveGetFileSystem, DriveGetLabel, DriveGetSerial, DriveGetType, DriveSetLabel, DriveSpaceFree, DriveSpaceTotal, CDTray, FileExists


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


Document traduit V3.3.6.1 :

###Function###
DriveStatus

###Description###
Retourne le status d'un disque sous forme de chaîne


###Syntax###
DriveStatus ( "path" )


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


###ReturnValue###
@@ParamTable@@
<b>Value</b>
	<b>Interprétation</b>
UNKNOWN
	Disque probablement pas formaté (RAW).
READY
	Typique des disques dur et lecteurs contenant un média amovible.
NOTREADY
	Typique des lecteurs de disquettes et des lecteurs CD/DVD qui ne contiennent pas de média.
INVALID
	Peut indiquer une lettre de lecteur inexistante ou un lecteur réseau inaccessible.
@@End@@


###Remarks###
La liste des valeurs de retour peut être incomplète.
DriveStatus 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.


###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="DriveSpaceTotal.htm">DriveSpaceTotal</a>, <a href="CDTray.htm">CDTray</a>, <a href="FileExists.htm">FileExists</a>


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


Traducteur : Tlem