In my windows pc. I have created a simple routine to go to a cookie dir, print out a list of files unlink them then print out contents again.
the index.dat file remains - I tried to open to write but will not allow, though i can open to read.
The ATTRIB is set to F (full control) so I don't understand why I cannot write or unlink the index.dat file?
for a bonus 10 points: also the -d flag doesn't spot the differnce between file and dir when i print the content list of the dir?