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.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


Reveals the file/folder in the shell.

Component Version macOS Windows Linux Server iOS SDK
Files 2.7 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Files.RevealFile"; Path )   More


Parameter Description Example
Path Native path to the item to reveal. "C:\Windows"


Returns "OK" or error.


Reveals the file/folder in the shell.
Shows file or folder in Finder or opens directory in Explorer.
With version 6.3 the Mac plugin can take a list of paths here.

To open a folder, please use Files.LaunchFile function.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.


Reveal 3 items:

MBS( "Files.RevealFile"; "/Users/cs/Public¶/Users/cs/Music¶/Users/cs/Library" )

Open desktop folder on Windows:

MBS("Files.RevealFile"; "C:\Users\Administrator\Desktop")

Show file in explorer window:

MBS("Files.RevealFile"; "C:\Users\Christian\Desktop\Test\test.txt")

See also

Release notes

Example Databases

Blog Entries

This function checks for a paid license.

Created 18th August 2014, last changed 22nd August 2022

Files.ResolveBookmark - Files.SetAudioTags

💬 Ask a question or report a problem

Start Chat