Brian Dunning's FileMaker Custom Functions

FMPathToSystemPath ( FPath )

Converts a FileMaker filepath to a system filepath

  Average rating: 3.0 (2 votes) Log in to vote

Kris Weyling   Kris Weyling - Show more from this author
Digital Fusion Ltd.
http://teamdf.com

Share on Facebook Share on Twitter

  Sample input:
FMPathToSystemPath ( Get ( DocumentsPath ) )
  Sample output:
/Users/kris/Documents/

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Converts a FM file-path to a system file-path, wrote it so I had an easy adaptor to plug filepaths into for use with BaseElements file functions

 

Comments

colin   colin
Feb 26, 2018
Thank you for this. Please note there is a bug.

for windows:
ABS (Get ( SystemPlatform )) = 2
 
Kris   Kris, Christchurch
Feb 27, 2018
You're absolutely right, thanks for pointing that out :)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.