[Mono-osx] Getting HOME directory, in Mac.
Amit Vyas
amitvyas.cse at gmail.com
Thu Aug 25 07:00:42 EDT 2011
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/cb2a7c55/attachment.html
More information about the Mono-osx
mailing list