To retrieve the logical MyDocuments use the following
Console.WriteLine("MyDocuments := " + Environment.GetFolderPath( Environment.SpecialFolder.MyDocuments));
Visual Studio .NET Tips and Tricks, VB.NET Code Samples, C# Code Snippets, ASP.NET Code Samples, .NET Tips and Tricks, C# Tips & Tricks, Visual Studio 2010, .NET Framework Code Samples, VB.NET Tips & Tricks
To retrieve the logical MyDocuments use the following
Console.WriteLine("MyDocuments := " + Environment.GetFolderPath( Environment.SpecialFolder.MyDocuments));
How can we retrieve the My documents folder of logged in user in a windows service.
ReplyDeleteRegards
Nauman Farooq
Technology Blogs