KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Obtaining Unix (Posix) syntax with the GET 4D FOLDER command
PRODUCT: 4D | VERSION: 2004.5 | PLATFORM: Mac OS X
Published On: June 13, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

To get the Database Folder path in Unix (Posix) syntax, execute GET 4D FOLDER and pass in the constant:

Database Folder Unix Syntax

This feature was added in 4D 2004.5. The string for the path will look similar to:

/Users/Documents/MyDatabase/


This feature is useful when passing in a Database Folder path to LAUNCH EXTERNAL PROCESS, which accepts the Unix (Posix) syntax when executed on Mac OS X.

Related Resources:

File path with spaces passed as argument to Launch External Process