Returns the status of the drive as a string.
DriveStatus ( "path" )
| path | Path of drive to receive information from. |
| Value | Interpretation |
| 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. |
Local $sStatus = DriveStatus(@HomeDrive & "\") ; Find the status of the home drive, generally this is the C:\ drive.
MsgBox(4096, "Status", $sStatus)