G
Guest
I try to delete all files from my Temporary Internet Files with:
foreach (string s in System.IO.Directory.GetFiles(@"C:\Documents and
Settings\Administrator\Local Settings\Temporary Internet Files"))
{
System.IO.File.Delete(s);
}
However, I found that I can only get 1 file - C:\Documents and
Settings\Administrator\Local Settings\Temporary Internet Files\desktop.ini
returned.
I use dotnetframework 1.0 on windows 2000.
I tried to do the same thing on winxp with dotnetframework 1.1, and it works
fine.
Why is that?
Thanks.
foreach (string s in System.IO.Directory.GetFiles(@"C:\Documents and
Settings\Administrator\Local Settings\Temporary Internet Files"))
{
System.IO.File.Delete(s);
}
However, I found that I can only get 1 file - C:\Documents and
Settings\Administrator\Local Settings\Temporary Internet Files\desktop.ini
returned.
I use dotnetframework 1.0 on windows 2000.
I tried to do the same thing on winxp with dotnetframework 1.1, and it works
fine.
Why is that?
Thanks.