marcus:
Lo marcus! Long time no speak!
Stefan:
Typing set at the command prompt will give you something like:
HOME=%USERPROFILE%
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\simon
USERDOMAIN=LAN
USERNAME=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
concept
of $HOME
However, YMMV.
Right 3am, time for bed :-)
nn
-Simon
----- Original Message -----
From: "Marcus" <[EMAIL PROTECTED]>
To: "Stefan Saring" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 - [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list