[Mono-osx] Getting HOME directory, in Mac.
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?
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
>> 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
>>> 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.
>>> Amit Vyas
>>> Mono-osx mailing list
>>> Mono-osx at lists.ximian.com
> Amit Vyas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx