Dim myIEcacheFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)
Dim myIEcookiesFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.Cookies)
Forgot to mention.
I once tried to make a p.c. cleaner and I use Firefox for a default wb(WebBrowser).
I tried deleting all files in the Firefox cache folder, so I thought it was, and crashed my Firefox.
If working with Firefox, be careful not to crash it by deleting needed system files since they seem to be in the same folder as the cache, I believe. Good luck.