Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Unmount a volume.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 5.1 Yes Yes Yes Yes No
MBS( "Files.Unmount"; Path { ; Force } )   More


Parameter Description Example value
Path The local path of the volume. "/Volumes/Test"
Force Optional
Pass 1 to force unmount, even if files are still open.


Returns OK or error.


Unmount a volume.
Use on Server may require extra work as server runs with a different user account than you being logged in on the server machine. Permissions don't always allow things to be done.


Unmounts Ablage1 on Mac:

MBS("Files.Unmount"; "/Volumes/Ablage1")

Unmount Y: on Windows:

MBS("Files.Unmount"; "Y:")

See also

Blog Entries

Created 10th May 2015, last changed 18th March 2017

Files.SetTagNames   -   Files.WriteFile

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins