----- Original Message -----
From: "Stefan Saring" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 8:50 AM
Subject: How to get user's HOME directory


> Hi Simon,
>
> I've just entered the "set" command on my Win2k box (SP3, german). The
> variable HOME does not exists, but USERPROFILE does.
> Could it be, that HOME was set by you or some application (e.g. CygWin)
> ?

That is a possibility as I've a number of unix-compatability tools installed
here.

In that case I would suggest you use USERPROFILE

> Isn't there any other (proper) way to get the user's home directory with
> mono ?

I'm sure there is a way to access the home directory via the registry.
I don't know if you can access through mono.


-Simon



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to