Files.ListVolumes
-----------------

Lists mounted volumes.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [6.5](newinversion65.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "Files.ListVolumes" { ; ShowMore } ) 

**MBS**( **"Files.ListVolumes";** /\* Lists mounted volumes. \*/  
**$ShowMore**) /\* Optional; Whether to show volumes we'd normally not show.  
e.g. invisible volumes on Mac or drives on Windows without disk.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ShowMore | Whether to show volumes we'd normally not show.   e.g. invisible volumes on Mac or drives on Windows without disk. | 0 | Optional |

### Result

Returns paths or error.

### Description

Lists mounted volumes.  
Returns a list of paths to mounted volumes.  
  
e.g. on Mac: "/¶/Volumes/MBSFMPlugin64", so first volume is normally / for the boot volume.  
### Examples

List volumes:

 MBS ("Files.ListVolumes")  
List all volumes:

 MBS ("Files.ListVolumes";1)  
### See also

- [Files.List](FilesList.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.5pr8](https://www.mbsplugins.de/archive/2016-11-22/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin Decision Graphs](https://www.mbsplugins.de/archive/2016-11-22/MBS_FileMaker_Plugin_Decision_/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 17th November 2016 , last changed 17th November 2016

  
[Files.ListRecursive](FilesListRecursive.md) - [Files.ModificationDate](FilesModificationDate.md)

[HTML Version](FilesListVolumes.shtml)