[Mono-list] Environment.SpecialFolder.MyDocuments question

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Aug 23 04:04:45 EDT 2011


You are printing the enum value directly. You need to call GetSpecialFolder.
On Aug 22, 2011 10:17 PM, "Paul F. Johnson" <paul at all-the-johnsons.co.uk>
wrote:
> Hi,
>
> Is this correct?
>
> If I have
>
> Console.WriteLine ("{0}", Environment.SpecialFolder.MyDocuments);
>
> on my Linux box it returns "Personal" rather than ~
>
> Under WinXP and 7 it returns the path to MyDocuments.
>
> Is this the correct behaviour or should it (under Linux) return ~?
>
> TIA
>
> Paul
>
> P.S. Using mono-2.10
> --
> Vertraue mir, ich weiss, was ich mache...
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110823/b103c33e/attachment.html 


More information about the Mono-list mailing list