DriveGetList

Returns a string of letters, one character for each drive letter in the system.

List := DriveGetList(Type)

Parameters

Type

Type: String

If omitted, all drive types are retrieved. Otherwise, specify one of the following words to retrieve only a specific type of drive: CDROM, REMOVABLE, FIXED, NETWORK, RAMDISK, UNKNOWN.

Return Value

Type: String

This function returns the drive letters in the system, depending on the specified type. For example: ACDEZ.

Related

Drive functions

Examples

See example #1 on the Drive Functions page for a demonstration of this function.