version 6.0
VOLUME LIST (volumes)
Parameter | Type | Description | |
volumes | Array | Names of the volumes currently mounted |
Description
The VOLUME LIST command populates the Text or String array volumes with the names of the volumes currently defined (Windows) or mounted (Macintosh) on your machine.
On Macintosh, it returns the list of the volumes visible at the Finder level.
On the other hand, on Windows, it returns the list of the volumes currently defined whether or not each volume is physically present (i.e. the volume A:\ will be returned whether or not a disk is actually present in the floppy drive).
Example
Using a scrollable area named asVolumes you want to display the list of the volumes defined or mounted on your machine, you write:
Case of : (Form event=On Load) ARRAY STRING(31;asVolumes;0) VOLUME LIST(asVolumes) ` ... End case
See Also
DOCUMENT LIST, FOLDER LIST, VOLUME ATTRIBUTES.