[Mono-osx] Getting HOME directory, in Mac.

Virginijus mrgutis at gmail.com
Thu Aug 25 07:07:51 EDT 2011


Enviroment.Personal gives same result as
Enviroment.GetEnviromentVariable("HOME"). Now i've read your first email
more carefully and i really do not understand the problem. You want to
change Enviroment variable values?

Best Regards,
Virgis

On Thu, Aug 25, 2011 at 2:00 PM, Amit Vyas <amitvyas.cse at gmail.com> wrote:

> thanks for the quick reply,
> But I am getting Environment.SpecialFolder.Personal in Watch window as *
> System.Environment+SpecialFolder.MyDocuments*  which i think is same as
> that of Environment.SpecialFolder.MyDocuments
>
>
> On Thu, Aug 25, 2011 at 4:23 PM, Virginijus <mrgutis at gmail.com> wrote:
>
>> For that there's Environment.SpecialFolder.Personal
>>
>> Regards,
>> Virgis
>>
>> On Thu, Aug 25, 2011 at 1:44 PM, Amit Vyas <amitvyas.cse at gmail.com>wrote:
>>
>>> Hi ,
>>>
>>> I am using Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
>>> which is translating to users Home Directory e.g. /Users/User and
>>> /Users/admin
>>>
>>> Can this change to some other location other than HOME on Mac?
>>>
>>> or I am safe in using Environment.GetEnvironmentVariable("HOME");
>>>
>>> Thanks for the help.
>>> --
>>> Regards.
>>> Amit Vyas
>>>
>>> _______________________________________________
>>> Mono-osx mailing list
>>> Mono-osx at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>>
>>>
>>
>
>
> --
> Regards.
> Amit Vyas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110825/b8532bdd/attachment.html 


More information about the Mono-osx mailing list