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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Moves a file or folder without user interface.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 2.8 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
SourcePath | The native path to the file or folder to be moved. | "/Users/John/Desktop/test.txt" | |
DestPath | The native path to the destination folder or file. | "/Users/John/Desktop/Backup/" | |
Overwrite | Mac only: Whether to allow overwriting existing files. Default is off. Pass 1 to enable and 0 to disable. On Windows, it overwrites always. |
1 | Optional |
SkipSourcePermissionErrors | Mac only: Whether to skip files with permission errors. Default is off. Pass 1 to enable and 0 to disable. |
1 | Optional |
ProgressTitle | Title for the progress window. For Windows only and the text may not be visible in your version of Windows. |
"Copying FileMake files" | Optional |
Returns OK or error message.
Move a file:
MBS( "Files.MoveFile"; "C:\Users\Christian\Desktop\test1.txt"; "C:\Users\Christian\Desktop\test2.txt")
This function checks for a license.
Created 18th August 2014, last changed 26th February 2023