Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Reveals the file/folder in the shell.

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


Parameter Description Example value
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.SetComment

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins