Name

getdrives — Get the drive letters of all mounted filesystems on the computer.

Calling Sequence

drives = getdrives()

Parameters

drives

a matrix of strings

Description

Get the drive letters of all mounted filesystems on the computer.

returns the roots of all mounted filesystems on the computer as a matrix of strings.

For Linux this list consists solely of the root directory, / .

Examples

 
getdrives()
 

Authors

A.C