Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何以编程方式引用C:\Users\Public\Public Recorded TV?
C:\Users\Public\Public Recorded TV
有Environment.SpecialFolder吗?
Environment.SpecialFolder
肯定有比这更直接(并且支持本地化)的方法吗?
string PublicRecordedTV = Path.Combine(new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments) ).Parent.FullName, "Recorded TV");