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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Files.Unmount
Unmount a volume.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Files | 5.1 | Yes | Yes | Yes | Yes | No |
MBS( "Files.Unmount"; Path { ; Force } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Path | The local path of the volume. | "/Volumes/Test" | |
| Force | Pass 1 to force unmount, even if files are still open. | 0 | Optional |
Result
Returns OK or error.
Description
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.
Examples
Unmounts Ablage1 on Mac:
MBS("Files.Unmount"; "/Volumes/Ablage1")
Unmount Y: on Windows:
MBS("Files.Unmount"; "Y:")
See also
Blog Entries
- Network share access from script on FileMaker Server
- Tip of the day: Mount drive on FileMaker Server
- MBS FileMaker Plugin, version 5.1pr8
Created 10th May 2015, last changed 18th March 2017
Files.StandardizePath - Files.WriteFile
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins