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-24 10:43:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!easynet-tele!easynet-melon!easynet.net!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Wed, 24 Apr 2002 17:43:36 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CC6191D.2DB44898@easystreet.com> <3CC6CF6F.6DAB1D05@san.rr.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1019670216 7106 129.241.83.78 (24 Apr 2002 17:43:36 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 24 Apr 2002 17:43:36 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23068 Date: 2002-04-24T17:43:36+00:00 List-Id: On Wed, 24 Apr 2002 15:28:34 GMT, Darren New wrote: > Preben Randhol wrote: >> By the way on windows if you want to write a config file for the current >> user, how do one find the "Home directory"? > > It's in the environment variables, on versions of Windows where people Ah good. > get different profiles for different logins. Remember that there's more > than one version of Windows. Yes, but older version you can store these things in C:\Windows\ > Alternately, use the registry. There's specifically a bit called > "current user". oh nonon I don't want to poke in there. As somebody said there is one cure to fix a broken registry : FORMAT C: > The 90/10 rule of toothpaste: the last 10% of > the tube lasts as long as the first 90%. That goes for most things I guess ;-) Preben