Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.ListVolumes
Lists mounted volumes.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 6.5 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
MBS( "Files.ListVolumes" { ; ShowMore } ) More
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
Blog Entries
This function checks for a license.
Created 17th November 2016, last changed 17th November 2016