<< get_absolute_file_path Paths - Filenames getlongpathname >>

Scilab Help >> Arquivos : funções de Entrada/Saída > Paths - Filenames > getdrives

getdrives

gets the drive letters of all mounted filesystems on the computer

Syntax

drives = getdrives()

Arguments

drives

a matrix of strings.

Description

The function getdrives gets the drive letters of all mounted filesystems on the computer.

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

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

Examples

getdrives()

Report an issue
<< get_absolute_file_path Paths - Filenames getlongpathname >>