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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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

This function checks for a license.

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


Files.ListRecursive - Files.ModificationDate

💬 Ask a question or report a problem