index.dat files keep a history of all the files within the directory. Now, being the little paranoid child I am, I wrote a simple cleaner for these files. I call it "clean" and it simply takes the first argument (the filename) and creates a file with the same name, essentially "over writing" the old file with a new one (yes...I realize there are much better ways of doing this...). But for some reason, I cannot get rid of the index.dat file located under The Documents and Settings folder of my User in Windows XP Home (C:\Documents and Settings\UserName\Cookies\index.dat). I have tried my clean program, deleting it, opening and erasing its contents...I simply can't get rid of the data.
Any ideas?