Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to change the caching folder (that default with \Local Settings\Temporary Internet Files )?

Posted on 2006-11-04
8
Medium Priority
?
162 Views
Last Modified: 2013-11-20
Hi experst,
I use the CViewHtml to do browser a URL of html page on my app
I used this  Navigate(strURL,NULL,NULL,NULL,NULL); function, this will auto cache the html to \Local Settings\Temporary Internet Files

But now, I want to change this to my caching folder, can we do this and how?
Please help me with this

Thank in advance!
0
Comment
Question by:Mobinex
  • 3
8 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 2000 total points
ID: 17876360
To change the path of the IE cache is to go through the Internet Explorer User Interface manually(IE->Options->General->Settings->Move Folder).

There are registry keys holding the path, and you can change them to be your own desired path. However, the "Temporary Internet Files" is not just a folder, it’s a shell extension and it’s not used by IE only.

Have a look at following registry keys probably you need to change them programatically :

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths


-MAHESH
0
 
LVL 22

Expert Comment

by:mahesh1402
ID: 18120467
The solution specified above to change cache path via registry keys works :

you just need to change following registry keys programatically :

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths

if you try to change folder manually using IE->Options->General->Settings->Move Folder you will see changes in above registry keys.

-MAHESH
0
 
LVL 22

Expert Comment

by:mahesh1402
ID: 18383298
As I said Solution given above works to change cache path via registry keys...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question