W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2003

Re: WIN2K/XP BUG & WISHLIST: Amaya user directory

From: Maurizio Codogno <puntomaupunto@tin.it>
Date: Thu, 20 Feb 2003 11:18:42 +0000
Message-ID: <3E37563C00021AF3@ims4a.cp.tin.it>
To: www-amaya@w3.org

>From: Jose Kahan <jose.kahan@w3.org>

>The problem is that this is the third change we do to this code for
>finding the Windows user home dir. It seems it's not always the same
>even in the same architecture.

Well, I just looked at the environment vars in XP, and I found no

Probably the best way to cope with this is a multilayer approach:

- if the environment variable AppData exists, use it as home directory;
- otherwise, if the environment variable UserHome (or something like
that) exists, use it as home directory;
- otherwise, complain with user and tell her to set up a suitable
environment variable;
- if she forces a "go on", use C:\Amaya\ .

ciao, .mau.
Received on Thursday, 20 February 2003 06:18:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:27 UTC