How can we find root directory of an application using progress code ?
ASSIGN FILE-INFO:FILE-NAME = ".". MESSAGE FILE-INFO:FULL-PATHNAME VIEW-AS ALERT-BOX INFO BUTTONS OK.
But sometimes it can get screwed up after SYSTEM-DIALOG GET-FILE/GET-DIR, even if RETURN-TO-START-DIR is specified.
If on windows, you could try this;
USING System.IO.*. MESSAGE Directory:GetCurrentDirectory().
From here: https://msdn.microsoft.com/en-us/library/system.io.directory.getcurrentdirectory(v=vs.110).aspx
what do you mean by “root directory of an application”?