[Top][All Lists]
[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: |
Nardy Pillards |
Subject: |
Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf |
Date: |
Sun, 12 Oct 2003 20:22:37 +0200 |
-----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!!
- --
Louis Nardy Pillards
"It's better to light a candle, than to curse the darkness"
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 -- QDPGP 2.70
Comment: http://www.gnubg.org/win32
iQA/AwUBP4mb7TPEk1cebYRtEQIhIQCg2UPQbh6awO0ou6zNp8DwAer3rCoAoO8c
6uI4oXjAM9jwtiXrm6r4J9YK
=piVV
-----END PGP SIGNATURE-----
- [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, olivier croisille, 2003/10/12
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Joern Thyssen, 2003/10/12
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf,
Nardy Pillards <=
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Joern Thyssen, 2003/10/12
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Nardy Pillards, 2003/10/12
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Holger, 2003/10/12
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Jon Kinsey, 2003/10/13
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Joern Thyssen, 2003/10/13
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Holger, 2003/10/13
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Jon Kinsey, 2003/10/13
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Nardy Pillards, 2003/10/14
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Nardy Pillards, 2003/10/14
- Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf, Nardy Pillards, 2003/10/14