Mindbender311
Instructor
Hello,
I am having trouble figuring out a weird issue. I am trying to get all files in the special folder InternetCache. The problem is only two items show up when I get all files and folders in the directory. The two items I get are desktop.ini and Content.IE5. I check the directory on the drive and more files exists than those two.
My question is what am I doing wrong?
Here is the line to get the files from the directory.
After that line I display all the files/folders retreived.
Thanks for any information.
I am having trouble figuring out a weird issue. I am trying to get all files in the special folder InternetCache. The problem is only two items show up when I get all files and folders in the directory. The two items I get are desktop.ini and Content.IE5. I check the directory on the drive and more files exists than those two.
My question is what am I doing wrong?
Here is the line to get the files from the directory.
Code:
string [] files = Directory.GetFileSystemEntries(Environment.GetFolderPath(
Environment.SpecialFolder.InternetCache));
After that line I display all the files/folders retreived.
Thanks for any information.