From Xojo Documentation
Returns a FolderItem that represents a mounted/connected drive.
|result||FolderItem||The mounted drive whose number was passed.|
|VolumeNumber||Integer||The number of the drive you require a FolderItem for. The boot drive is volume 0.|
The DriveAt function returns a FolderItem that represents the mounted drive whose number was passed. Drive zero is the boot drive. This function can be used in conjunction with the DriveCount function to loop through the mounted drives.
This example places the names of all mounted drives into a ListBox control: