Brian Dunning's FileMaker Custom Functions

GetLocalSystemPath ( i )

i = FMPath

  Average rating: 4.5 (28 votes) Log in to vote

Gjermund Gusland Thorsen   Gjermund Gusland Thorsen
Gudthlandum Consulting
http://www.gudthlandum.no

Share on Facebook Share on Twitter

  Sample input:
"file:" & Get( DocumentsPath ) & "index.html"
  Sample output:
/Users/gjermund/Documents/index.html

or the equivalent of: C:\Users\gjermund\Documents\index.html for Windows.

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

The windows part is not tested; might need a minor tweak, I just wrote what I expected to be correct off the top of my head.

 

Comments

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 20 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: