base.Application.getProgramDir()

 

The GetProgramName() method is used to retrieve a character string containing the directory path to the application executable file. This would be the location of the application server on your machine and the subfolders, if they are present. This method doesn’t need any arguments.

 

DEFINE path STRING

LET path = base.Application.getProgramDir()

Location of the application on the application server and the executable file depends on the system used.