DriveGetList

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

List := DriveGetList(DriveType)

Parameters

DriveType

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 DriveType. For example: ACDEZ.

Drive functions

Examples

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