Windows Phone Developers

Thursday, October 30, 2008

How to retrieve MyDocuments Folder using C# (.NET)

To retrieve the logical MyDocuments use the following

Console.WriteLine("MyDocuments := " + Environment.GetFolderPath( Environment.SpecialFolder.MyDocuments));

See also:

Retrieving Special Folders using FileSystemObject (VBA / VB)

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

  1. How can we retrieve the My documents folder of logged in user in a windows service.

    Regards
    Nauman Farooq
    Technology Blogs

    ReplyDelete