Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


Files.ListRecursive - Files.ModificationDate

Feedback: Report problem or ask question.