[Mono-list] How to get user's HOME directory

Stefan Saring stefan.saring@epost.de
04 Apr 2003 08:53:47 +0200


Yes. On Windows2000 it's e.g. "C:\Documents and Settings\USERNAME\".
This is the place where many applications store their user settings and
profiles (e.g. Mozilla).

Regards,
Stefan

Am Fre, 2003-04-04 um 03.03 schrieb Marcus:
> On Thursday 03 April 2003 06:55 am, Stefan Saring wrote:
> 
> > is there any way to get the name of the user's HOME directory with mono
> > ? (something like System.Environment.CurrentDirectory ...)
> > I know that I can use System.Environment.GetEnvironmentVariable("HOME"),
> > but this might only work on Unix systems.
> 
> Do Windoze platforms have the concept of a "home directory"?
-- 
Stefan Saring <stefan.saring@epost.de>