Progress Installation Directory

ankit_jkt

New Member
Hi All,

Is there any way to fetch the progress installation directory (Directory where Progress is installed)?

Regards
Ankit
 

Stefan

Well-Known Member
Code:
MESSAGE ENTRY( NUM-ENTRIES( PROPATH ), PROPATH ) VIEW-AS ALERT-BOX.

Will give you the 'bin' directory.
 

RealHeavyDude

Well-Known Member
You don't tell anything about the OS this is running on and for which task you need to "fetch" it. The solution Stefan proposed will work within an ABL procedure only.

Heavy Regards, RealHeavyDude.
 

ankit_jkt

New Member
Hi All,

First of all thanks for your replies. I have overcome with this question...

To check the installation directory i am using the following code:-

DEFINE VARIABLE cDLC AS CHARACTER NO-UNDO.

ASSIGN cDLC = OS-GETENV("DLC").


IF cDLC = ? THEN
GET-KEY-VALUE SECTION "Startup" KEY "DLC" VALUE cDLC.

Its working fine for every environment..

Regards
Ankit
 

Stefan

Well-Known Member
But will fail in a Windows environment with more than one Progress version installed - which is why I use the last propath entry.
 
Top