如何以编程方式引用C:\Users\Public\Public Recorded TV
?
是否有Environment.SpecialFolder
?
答案 0 :(得分:1)
肯定有比这更直接(和本地化支持)的方法吗?
string PublicRecordedTV = Path.Combine(new DirectoryInfo(
Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments)
).Parent.FullName, "Recorded TV");