hi,
I want to know how to access files of a folder on the users desktop in c#, i know how to reach to the desktop from the following code
Environment.SpecialFolder sf = Environment.SpecialFolder.DesktopDirectory;
after this i need to access a specific folder on desktop to access files therin.
Thanks

Jitendra ShekhawatRank #1,909 · 772 reputationPosted Mar 1, 2017, 11:30 PM EST
string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);Jitendra ShekhawatRank #1,909 · 772 reputationPosted Mar 1, 2017, 11:36 PM EST
string filePath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);filePath =filePath +@"\Error Log\";string extension = ".log";if (!Directory.Exists(filePath))Jitendra ShekhawatRank #1,909 · 772 reputationPosted Mar 2, 2017, 7:33 PM EST