My Java program needs to delete any temporary internet files that were created by a "Shell.Explorer.1" ActiveX control created by the program.
What is the best way to do that?
If I go to Tools->Internet Options in Internet Explorer, click on the Browsing history Settings button on the General tab, and then click on the View files button, it takes me to this folder using Windows Explorer:
C:\Documents and Settings\<user-name>\Local Settings\Temporary Internet Files
I then see a listing of "files", although I'm not sure they really are files. How do I delete these using Java?
However, when I call file.listFiles()
where file
is the directory listed above, I don't see any of the files I see in Windows Explorer. I see what I think are some hidden folders.