Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#15328 - 08/26/03 12:48 PM Wiping index.dat
Joined: Jun 2003
Posts: 14
visage Offline
Junior Member
visage Offline
Junior Member

Joined: Jun 2003
Posts: 14
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?

Top
Sponsored Links
#15329 - 08/26/03 09:23 PM Re: Wiping index.dat
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
do you just get permission denied errors? If the file is write locked then you're out of luck. Try renaming the file too, and if successful, rebooting.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#15330 - 08/26/03 09:50 PM Re: Wiping index.dat
Joined: Jun 2003
Posts: 14
visage Offline
Junior Member
visage Offline
Junior Member

Joined: Jun 2003
Posts: 14
The error is that it is in use by another person and/or file. I am the admin on the box so permission denied errors are a no go. I do not believe the file is write locked. And I can't rewrite for the same reason I can't delete.

Meh, I will probably just have to boot to DOS to delete it...

By the way, does anyone know a workaround or a hack so you can get WindowsXP to boot to DOS, or do I still have to use my windows 98 boot disk?

Thanks

Top
#15331 - 08/27/03 12:17 AM Re: Wiping index.dat
Joined: Feb 2002
Posts: 7,194
Gremelin Offline
Community Owner
Gremelin Offline

Community Owner

Joined: Feb 2002
Posts: 7,194
Portland, OR; USA
Windows has file locking on important files. index.dat is one of them.

There is a way to disable the file locking, look in the newest issue of 2600 magazine under "Windows XP Tips and Trix" or whatnot...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Top
#15332 - 08/27/03 09:30 AM Re: Wiping index.dat
Joined: Jun 2003
Posts: 14
visage Offline
Junior Member
visage Offline
Junior Member

Joined: Jun 2003
Posts: 14
haha, I picked up the new one today without even seeing your post. Coincidence? I think not...

Thanks.

Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,743
Posts80,911
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,907
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 4 guests and 2 spiders.
Latest News