Error getting tags :
error 404Error getting tags :
error 404 volumes | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
volumes
Basics
Expander triangle
Type
Function
Syntax

the volumes

volumes()

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows
Security
Disk
Summary
Returns a list of volumes.
Examples

the volumes
if myDisk is among the lines of the volumes then setNewDirectory

Additional Comments
Expander triangle

Use the volumes function to find out which disks are available for use.

Value:

The volumes function returns a list of volume names, one per line.

Comments:

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 volumesfunction. On Windows systems, empty but connected removable drives are reported by the volumesfunction.

This function always returns empty on Unix systems.

Note: On Mac OS and OS X systems, volumes may contain slash characters (/) in their names. To use such a volume as part of a path, replace the slash with a semi colon before constructing the path.

User Comments
Expander triangle