473,770 Members | 5,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Delete the files in Temporary internet cache

yxq
Hi,
I want to delete the files in "Temporary internet cache" and "History"
folder, is it ok to use "File.delet e"? What are the true path of "Temporary
internet cache" and "History" folder?

Thanks

Nov 20 '05 #1
2 3717
Cor
Environment.Get FolderPath(Envi ronment.Special Folder.Internet Cache)

Environment.Get FolderPath(Envi ronment.Special Folder.History)

I hope this helps?

Cor
Nov 20 '05 #2
Cor
Environment.Get FolderPath(Envi ronment.Special Folder.Internet Cache)

Environment.Get FolderPath(Envi ronment.Special Folder.History)

I hope this helps?

Cor
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7846
by: Robert Scheer | last post by:
Hi. I have two .js files that are used on several of my pages. I made some changes in one of the files. When I call the pages, the old functions are called because of the browser's cache. What is the best way to update the browser's cache with the newer version of my .js file? Thanks, Robert Scheer
3
3908
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)); FileInfo files = temporary.GetFiles(); foreach(FileInfo fi in files) { Console.WriteLine(fi.FullName); }
0
1834
by: VZUmar | last post by:
Hi I am using IWebBrowser2 in my VC++ windows Application, My application uses browser control to navigate through different web pages. IE of machine has Security setting "Empty Temporary Internet Files folder when browser is closed" selected or enabled. Since my application used WebBrowser Control temporary internet files are not deleted. How can I force IWebBrowser2 Control to do cleanup of IE Temporary files whe my application exits ...
1
2415
by: Donald | last post by:
How do I prevent I WebForm from being cached in the "Temporary Internet Files" folder on the client computer? The web form is displayed in a popup modal dialog (window.showModalDialog). If the client closes the popup modal window and re-displays the web form again, I want the page to be retreived from the server instead of the temporary internet files folder. Here's what I've tried (and it didn't work of course):
0
1112
by: J'son | last post by:
Ok, I have a search page which POSTs back to itself to show results. When users leave this page and come back to it via the BACK button, it ususally redisplays fine. However, for one or two users a "Page Cannot Be Displayed" error is shown. I was able to recreate this bug by flushing out my Temporary Internet Files via Tools --> Internet Options, so I am assuming the following: 1. The user might have his total space allocated for Temp....
0
307
by: yxq | last post by:
Hi, I want to delete the files in "Temporary internet cache" and "History" folder, is it ok to use "File.delete"? What are the true path of "Temporary internet cache" and "History" folder? Thanks
1
4305
by: Manish | last post by:
Hi all, Can any one plz suggest me how i can delete my temporary internet files within my Asp.net page. I am using C# as the code behind lang. Indeed, i have flash inserted on my .net page, which in turn gets its values from the xml file which gets generated at the run time according to the selection of the user in a DropDownList. I want to delete the flash from the "temporary internet files " folder so that on each combobox...
1
1311
by: ed.crookshanks | last post by:
Hello All: I just experienced some weird behavior and I wonder (1) if anyone has experienced this, (2) if it is normal, and (3) if I'm interpreting it correctly. Bascially, I was having a problem getting data from the Cache object. I could step through and see that valid data was going into the cache, but when I got the object back (it was a dataset) it was undefined. Obviously this was creating all kinds of problems. After digging
0
2954
by: wolfsbane | last post by:
Alright, here it is I am trying to write a win32 app in VB 2005 to clean up user's profiles. everything works correctly except for the Delete("directory", True) statement. I get a System.IO.DirectoryNotFoundException: Could not find a part of the path. Then it gives me a random file name from the UserProfile\Local Settings\Temporary Internet Files\Content.IE5\SomeRandomFolder. This is absolutley driving me nuts. So I am gonn give you a basic...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10001
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7415
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3573
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.