"Preben Randhol" a �crit dans le message news: slrnacb9v4.5ud.randhol+abuse@kiuk0156.chembio.ntnu.no... > How can one in Ada95 find out from which directory the Ada program is > stored in. I mean I need to find out if my program is stored in > /usr/bin/ or /usr/local/bin or some other directory. Does anybody know > how I can do this. Note that current directory is not equal to the > directory the program is stored in. I use GNAT so if GNAT has some > routines for this that I have missed, please tell me. I'll make it > portable later if needed. > You can try package OS_Services from Adalog's components page (http://www.adalog.fr/compo2.htm) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr