<<

Contents

Search

>>

 

GET_DRIVES$

 

 

Function

 

 

Syntax:

GET_DRIVES$(<Type>,<Separator>)

 

<Type>

= <NUM-EXPRESSION>

<Separator>

= <STRING-EXPRESSION>

 

 

Meaning:

Returns information about the drives of the computer.

 

GET_DRIVES$ returns as result all drives of the computer. The single values are separated by <Separator> in the returned string.

 

Under Unix/Linux always the root directory "/" is returned.

 

Parameter:

Type

Specifies whether only the drives or the drives with description are returned.

= 0: Only the drives are returned

otherwise: Drives and description are returned separated by <Separator>.

 

Separator

The first character of <Separator> specifies which character is to separate the returned drives from each other in the returned string. If <Separator> is the empty string "", the semi-colon ";" is the separator.

 

Sample:

DRIVES$ = GET_DRIVES$(0,";")

 

See also:

GET_DRIVES_CLIENT$

GET_FILEINFO$

GET_FILEINFO_CLIENT$

FTP_GETFILEINFO$

GET_FILENAME$

GET_FILEPATH$

GET_FILESIZE