From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,814d0ec938d6e4da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-25 00:26:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Thu, 25 Apr 2002 07:26:27 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CC6191D.2DB44898@easystreet.com> <3CC6CF6F.6DAB1D05@san.rr.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1019719587 1025 129.241.83.82 (25 Apr 2002 07:26:27 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 25 Apr 2002 07:26:27 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23096 Date: 2002-04-25T07:26:27+00:00 List-Id: On Thu, 25 Apr 2002 02:37:38 GMT, Steve Doiel wrote: > I do have a solution for getting the path and name of the current executable > but it rather involved and very specific to windows. From the initial post > I thought you were looking for a solution that is not platform specific. > Isn't this the case? I think that I probably need to make one package/child package for windows and one for unix as I don't see that a general solution is easy. -- "Jeg tror nordmenn har glemt hvordan de tilbreder fisk. De er mest opptatt av firkantet fisk." -- Kristian Kristiansen, yrkesfisker, aftenposten.no 19/04/02