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: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    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.

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

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 13th September 2017

Files.ResolveBookmark - Files.SetAudioTags

Feedback: Report problem or ask question.

MBS Xojo blog

Start Chat