This seems to work:
vb Code:
Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache) Dim fInfo, fInfos() As IO.FileInfo Dim dInfo As IO.DirectoryInfo dInfo = New IO.DirectoryInfo(path) fInfos = dInfo.GetFiles("*.*", IO.SearchOption.AllDirectories) For Each fInfo In fInfos 'Do you thing Next
Note the search option of AllDirectories. Without it all I got was the Desktop.ini file.
Hope this helps you.




Reply With Quote