[Mono-list] How to get user's HOME directory
Fri, 4 Apr 2003 03:00:38 +0100
Lo marcus! Long time no speak!
Typing set at the command prompt will give you something like:
HOMEPATH=\Documents and Settings\simon
USERPROFILE=C:\Documents and Settings\simon
If you're not using NT/2K/XP all bets are off. Win9x/ME don't have the
Right 3am, time for bed :-)
----- Original Message -----
From: "Marcus" <firstname.lastname@example.org>
To: "Stefan Saring" <email@example.com>
Sent: Friday, April 04, 2003 2:03 AM
Subject: Re: [Mono-list] How to get user's HOME directory
> 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"?
> Mono-list maillist - Monofirstname.lastname@example.org