KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Locating your 4D active folder programmatically
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: March 11, 2004

The 'Get 4D folder' command allows an easy way to locate your active 4D folder. This command returns the full path to the active 4D folder.

The code below will display the path to the 4D active folder in an alert window:
$activeFolderPath:= Get 4D folder
Alert($activeFolderPath)