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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Deletes a file or folder directly without moving to trash.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native folder path to the item to be deleted. | "/Users/John/Desktop/test" |
Returns OK or error message.
Delete a folder on desktop on Mac:
$r = MBS("Files.Delete"; "/Users/cs/Desktop/testing")
Delete a folder on desktop on Windows:
$r = MBS("Files.Delete"; "C:\Users\Christian\Desktop\testing")
Created 18th August 2014, last changed 12nd August 2015
Files.Delete - Files.DirectoryExists
Feedback: Report problem or ask question.