volumes | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | drives | ||||||
Summary | Returns a list of volumes. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: line Command: replace Function: folders, diskSpace, files Control Structure: function Glossary: Windows, Mac OS, return, OS X | ||||||
Security | disk | ||||||
Description | Use the volumes function to find out which disks are available for use. A volume is usually a disk, but a single disk may be partitioned into multiple volumes, each of which appears as a separate icon. In this case, each partitioned volume is listed separately by the volumes function. Disks which are physically installed or inserted into a disk drive, but are not currently mounted, do not appear in the list returned by the volumes function. *Cross-platform note:* On Mac OS and OS X systems, removable drives (such as floppy drives) that are connected, but do not contain a disk, do not appear in the list returned by the volumes function. On Windows systems, empty but connected removable drives are reported by the volumes function.
| ||||||
Tags | file system |