Purpose
Returns the directory path to where the MapInfo Pro software is installed. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
ProgramDirectory$()
Return Value
String
Description
The ProgramDirectory$() function returns a string representing the directory path where the MapInfo Pro software is installed.
Example
Dim s_prog_dir As String
s_prog_dir = ProgramDirectory$()
See Also:
HomeDirectory$() function, SystemInfo() function