Reputation: 20838
How can I programmatically reference C:\Users\Public\Public Recorded TV
?
Is there an Environment.SpecialFolder
?
Upvotes: 0
Views: 158
Reputation: 20838
Surely there's a more direct (and localisation-supported) method than this?
string PublicRecordedTV = Path.Combine(new DirectoryInfo(
Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments)
).Parent.FullName, "Recorded TV");
Upvotes: 1