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-23 19:31:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: achrist@easystreet.com Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Tue, 23 Apr 2002 19:31:57 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3CC6191D.2DB44898@easystreet.com> X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:23029 Date: 2002-04-23T19:31:57-07:00 List-Id: > Ada.Command_Line.Command_Name. Since this is implementation-defined, > it may not include the path on all targets. It does on Windows. I seem to recall that one version, maybe a new one, of Windows does not always return the full path to the current program when you ask for the command line. Are you sure that this works under all versions of Windows (so far)? On a related topic, will this work (eg using GNAT for Windows 3.14p) if the current program is somewhere on the network that doesn't have a drive letter mapped to it? If so will the GNAT.Directory_Operations work correctly where no drive letter is assigned? Al