Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Checks whether a file exists with the given path.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 2.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | Native path to the file to check. | "C:\Windows" |
Returns 1 if file exists and 0 if not.
Checks whether file exists:
Set Variable [$r; Value:MBS( "Files.FileExists"; "/Users/cs/Desktop/test.rtf")]
Test relative folder path by passing relativre path after setting starting folder:
MBS("Process.SetCurrentDirectory"; "C:\Program Files (x86)\FileMaker\FileMaker Pro 18 Advanced/Extensions") &
MBS( "Files.FileExists"; "../Extensions/MBS.fmx")
This function checks for a license.
Created 18th August 2014, last changed 10th August 2020