Solved

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

Posted on 2006-11-04
8
156 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running shell command from Access 3 69
xyBalance chalenge 58 88
if loop in java 3 130
firstChar challenge 13 110
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now