ProgramDirectory$() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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