System_WinDrives::getDriveList()

System_WinDrives::getDriveList() -- Gets array with path of all drives

Synopsis

require_once 'System/WinDrives.php';

array System_WinDrives::getDriveList (void)

Description

Returns an array with all drive paths (e.g. A:\, C:\).

If no API is available, the drive list is guessed. To get more data (like drive type and name), you should use getDrivesInformation().

Return value

array - array with all the drives

Example

See

isApiAvailable() guessDriveList() getDrivesInformation()