4D v13.4

VOLUME LIST

Home

 
4D v13.4
VOLUME LIST

VOLUME LIST 


 

VOLUME LIST ( volumes ) 
Parameter Type   Description
volumes  String array in Names of the volumes currently mounted

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. Only the names of the volumes are returned (for example "MacHD", "BootCamp", etc.).
  • On Windows, it returns the list of the volumes currently defined whether or not each volume is physically present (i.e. the volume E:\ will be returned whether or not a CD or DVD is actually present in the drive). The names of the volumes are followed by the folder separator character ("C:\").

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

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 471

Mac OS specificWindows specific

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

DOCUMENT LIST
FOLDER LIST
VOLUME ATTRIBUTES

 
TAGS 

Volume***