Solved

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

Posted on 2006-11-04
8
158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 134
has22 challenge 11 106
Fibonacci challenge 11 136
Problem to Office 1 40
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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