Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Files.Unmount

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 } )

Parameters

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.
0

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


Files.SetTagNames   -   Files.WriteFile

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins