[ACCEPTED]-Internet Explorer cache location-caching

Accepted answer
Score: 33

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


Windows 10


Some information 1 came from The Windows Club.

Score: 14

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
Score: 10

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 a Profiles directory 2 in your Windows directory, don't worry — this 1 just means that you are not using user profiles.

Score: 3

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.

Score: 1

If you are using Dot.Net then the code you 4 need is


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

Score: 1

In windows serven and 8 and later in this 1 location can find IE Cache


Score: 0

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

Score: 0

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