[ACCEPTED]-Internet Explorer cache location-caching
By default, the locations of Temporary Internet 2 Files (for Internet Explorer) are:
Windows 95, Windows 98, and Windows ME
c:\WINDOWS\Temporary Internet Files
Windows 2000 and Windows XP
C:\Documents and Settings\\[User]\Local Settings\Temporary Internet Files
Windows Vista and Windows 7
%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files
%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low
Windows 8
%userprofile%\AppData\Local\Microsoft\Windows\INetCache
Windows 10
%localappdata%\Microsoft\Windows\INetCache\IE
Some information 1 came from The Windows Club.
If you want to find the folder in a platform 2 independent way, you should query the registry 1 key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Cache
The location of the Temporary Internet Files
folder depends on your 25 version of Windows and whether or not you 24 are using user profiles.
If you have Windows Vista, then 23 temporary Internet files are in these locations 22 (note that on your PC they can be on some 21 drive other than C):
C:\Users[username]\AppData\Local\Microsoft\Windows\Temporary 20 Internet Files\ C:\Users[username]\AppData\Local\Microsoft\Windows\Temporary 19 Internet Files\Low\
Note that you will have 18 to change the settings of Windows Explorer 17 to show all kinds of files (including the 16 protected system files) in order to access 15 these folders.
If you have Windows XP or Windows 2000, then temporary 14 Internet files are in this location (note 13 that on your PC they can be on some drive 12 other than C):
C:\Documents and Settings[username]\Local 11 Settings\Temporary Internet Files\
If you 10 have only one user account, then replace 9 [username] with Administrator to get the 8 path of the
Temporary Internet Files
folder.If you have Windows Me, Windows 98, Windows NT or 7 Windows 95, then
index.dat
files are in these locations:C:\Windows\Temporary 6 Internet Files\
C:\Windows\Profiles[username]\Temporary 5 Internet Files\Note that on your computer, the 4 Windows directory may not be
C:\Windows
but some other 3 directory. If you don't have aProfiles
directory 2 in yourWindows
directory, don't worry — this 1 just means that you are not using user profiles.
I don't know the answer for XP, but for 9 latter:
%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low
and %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5
- these are cache locations. Other 8 mentioned %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
but this not a cache in this 7 directory there are just a reflection of 6 files that are stored somewhere else.
But 5 you can enum %USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files
and get all files you need, but 4 you should be frustrated that file walker 3 do not detect everything that explorer shows.
Also 2 if you use links I gave you may need ExpandEnvironmentStrings from 1 WinAPI.
If you are using Dot.Net then the code you 4 need is
Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)
Click 3 my name if you want the code to delete these 2 files plus FireFox temp files and Flash 1 shared object/Flash Cookies
In windows serven and 8 and later in this 1 location can find IE Cache
C:\Users\Username\AppData\Local\Microsoft\Windows\INetCache
If it's been moved you can also (in IE 11, and 5 I'm pretty sure this translates back to 4 at least 10):
- Tools - Internet Options
- Under Browsing history click Settings
- Under Current location it shows the directory name
Note: The View files button 3 will open a Windows Explorer window there.
For 2 example, mine shows C:\BrowserCache\IE\Temporary 1 Internet Files
Are you looking for a Windows API?
Just use 6 SHGetFolderPath function with CSIDL_INTERNET_CACHE flag 5 or SHGetKnownFolderPath with FOLDERID_InternetCache flag to 4 get the exact location. This way you don't 3 have to worry about the OS. The former function 2 works in Windows XP. The latter one works 1 in Windows Vista+.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.