Lists the names of all currently available disks.
TrFile_ListDisks ( switches )
|switches||(optional) determine way the result is returned|
Switches can be empty or:
|-ReturnAtEnd||add an extra return character after the last found item in the list|
Data type returned
a list of names of all the disks that are currently mounted (available).
Troi File Plug-in 2.0
FileMaker Pro 16 to 19
Use FindFolder to find the startup disk.
Set Field [ result ; TrFile_ListDisks ( "" ) ]
On Mac OS this will return a list of names of all the disks that are currently mounted, for example:
Photos till 2004¶
Fotos tm 991115
On Windows the drive letters of the available disks are returned, for example:
Used in example file