From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: How to find directory where the program is?
Date: Wed, 24 Apr 2002 10:29:22 +0000 (UTC)
Date: 2002-04-24T10:29:22+00:00 [thread overview]
Message-ID: <slrnacd27o.17t.randhol+abuse@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: 3CC6191D.2DB44898@easystreet.com
On Tue, 23 Apr 2002 19:31:57 -0700, achrist@easystreet.com wrote:
>> 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?
I don't know about windows. On windows I expect to put everything in one
directory and if I can find this then I have the help files, pixmaps
etc... However on linux you put the different files in designated
directories.
By the way on windows if you want to write a config file for the current
user, how do one find the "Home directory"? I mean on NT you usually
have write protection unless administrator so I would like to write and
read the configurations from a directory (Profile ?) where the user has
write access.
Preben
next prev parent reply other threads:[~2002-04-24 10:29 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 23:28 How to find directory where the program is? Beard, Frank [Contractor]
2002-04-24 0:49 ` Larry Kilgallen
2002-04-24 2:31 ` achrist
2002-04-24 10:29 ` Preben Randhol [this message]
2002-04-24 15:28 ` Darren New
2002-04-24 17:43 ` Preben Randhol
2002-04-24 18:33 ` Randy Brukardt
2002-04-24 21:00 ` Wes Groleau
2002-04-25 19:26 ` Randy Brukardt
2002-04-25 2:37 ` Steve Doiel
2002-04-25 7:26 ` Preben Randhol
-- strict thread matches above, loose matches on Subject: below --
2002-04-25 16:43 Beard, Frank [Contractor]
2002-04-24 9:44 Grein, Christoph
2002-04-25 10:35 ` Thierry Lelegard
2002-04-25 19:30 ` Philippe Waroquiers
2002-04-25 22:57 ` Larry Kilgallen
2002-04-23 19:56 Beard, Frank [Contractor]
2002-04-23 22:41 ` Larry Kilgallen
2002-04-23 19:24 Beard, Frank [Contractor]
2002-04-23 18:28 Preben Randhol
2002-04-23 19:10 ` Florian Weimer
2002-04-23 19:37 ` Randy Brukardt
2002-04-23 20:53 ` Preben Randhol
2002-04-23 21:04 ` Joachim Schr�er
2002-04-24 8:35 ` Thierry Lelegard
2002-04-24 8:43 ` Jean-Pierre Rosen
2002-04-24 10:33 ` Preben Randhol
2002-04-24 11:43 ` Jean-Pierre Rosen
2002-04-24 14:44 ` Preben Randhol
2002-04-24 15:38 ` Hyman Rosen
2002-04-24 17:44 ` Preben Randhol
2002-04-24 23:08 ` Nick Roberts
2002-04-25 7:28 ` Preben Randhol
2002-04-25 14:18 ` Marin David Condic
2002-04-26 16:24 ` Stephen Leake
2002-04-26 20:41 ` achrist
2002-04-26 21:31 ` Larry Kilgallen
2002-04-29 15:38 ` Marin David Condic
2002-04-25 17:10 ` Sergey Koshcheyev
2002-04-25 21:11 ` Nick Roberts
2002-04-25 23:28 ` Sergey Koshcheyev
2002-04-26 5:57 ` Preben Randhol
2002-04-26 16:22 ` Stephen Leake
2002-04-26 17:13 ` Anders Gidenstam
2002-04-26 12:18 ` Jacob Sparre Andersen
2002-04-26 12:23 ` Preben Randhol
2002-04-26 12:48 ` David C. Hoos
2002-04-26 14:13 ` Preben Randhol
2002-04-27 8:18 ` Eric G. Miller
2002-04-26 13:09 ` Marin David Condic
2002-04-27 14:39 ` Larry Kilgallen
2002-04-27 21:12 ` Nick Roberts
2002-04-29 15:52 ` Marin David Condic
2002-04-24 17:44 ` Egil Harald Hoevik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox