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 11:33:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Wed, 24 Apr 2002 13:33:04 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3CC6191D.2DB44898@easystreet.com> <3CC6CF6F.6DAB1D05@san.rr.com> X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:23072 Date: 2002-04-24T13:33:04-05:00 List-Id: Preben Randhol wrote in message ... >On Wed, 24 Apr 2002 15:28:34 GMT, Darren New wrote: >> 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: If you follow the rules, its highly unlikely that you'll break the registry. You could only do so by overwriting an existing (important) key, or by deleting some tree. But the rules (for this purpose) state that you should only put your configuration data under Current User///. Claw has packages which do that automatically, which makes it even harder to make a serious mistake. The advantage of letting the registry do this is that you get per-user configuration essentially for free. Randy Brukardt.