bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf
Date: Sun, 12 Oct 2003 19:05:12 +0000
User-agent: Mutt/1.4.1i

On Sun, Oct 12, 2003 at 08:22:37PM +0200, Nardy Pillards wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12 Oct 2003 at 16:58, Joern Thyssen wrote:
> 
>  
> > Isn't there some environment variable we can query or some function we
> > can call that'll return the path to "program files"? Or will this only
> > work if installed in the default suggested directory? Is it somehow
> > possible to find out where gnubg was installed?
> > 
> > If possible, it should be trivial to initialise the data directory
> > with this value.
> > 
> > Jørn
> > 
> 
> You can read the Registry.
> (Installation Archive keeps the Installation Directory there)
> 
> But you can also set (and read) an environment variable.
> DOS command:
> SET xyz=[value]
> 
> I would opt for the second choice, although the WinPro(g)s will say:
> No way. Use that Registry!!

I'd opt for the registry, unless it's possible by the installer to add
the environment variable to the list of system env. variables.

It shouldn't be that difficult to query the registry (or am I just being
naïve)?

Jørn

Attachment: pgp0ZMmpQuYfK.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]