473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Can't list files in Temporary Internet Files

cs
foreach (string file in Directory.GetFiles(
System.Environment.GetFolderPath
(System.Environment.SpecialFolder.InternetCache)) )
{
Console.WriteLine(file.ToString());
}
I can only get the code above to list desktop.ini and no
other files. What's going on with this folder?

Nov 15 '05 #1
1 2491
Temporary Internet Files is a special folder
that has it's own view of files. It's not
intended to be manipulated directly as files.

There are lots of subfolders each with an
index.dat that links to encoded files that
contain things like cookies, history items,
and the cached files themselves. You should
use the various Win32 APIs for manipulating
the cache of IE (managing cookies, history,
cached elements, etc).

-c

"cs" <ad******@asdf.com> wrote in message
news:01****************************@phx.gbl...
foreach (string file in Directory.GetFiles(
System.Environment.GetFolderPath
(System.Environment.SpecialFolder.InternetCache)) )
{
Console.WriteLine(file.ToString());
}
I can only get the code above to list desktop.ini and no
other files. What's going on with this folder?

Nov 15 '05 #2

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

Similar topics

3
by: Rajiv Das | last post by:
VS 2003, XP SP2 ------------------------------------------------------------ DirectoryInfo temporary = new DirectoryInfo( Environment.GetFolderPath(Environment.SpecialFolder.InternetCache));...
1
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...
0
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...
6
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
2
by: IntraRELY | last post by:
I need to access this directory, but changes based on the differant profile for the user. Is there a way to access the current users "Temporary Internet Files" w/o using something like...
3
by: greg chu | last post by:
If I type dir /s in the command line prompt I can list all system files ex. get into the IE temporary files C:\Documents and Settings\XXXXXX\Local Settings\Temporary Internet Files XXXXXX is...
9
by: Mark | last post by:
Is there a way in asp.net to delete the temporary internet files from IE? Thanks.
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
2
by: JEMMA | last post by:
One party in a civil legal case has produced e mails obtained from the temporary internet files of Windows XP as evidence. I suspect that these might have been edited. My question is whether it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.