UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
Sponsored Links
Latest Postings
by Herbert_Sherbert
09/07/15 10:34 AM
Latest Reviews
Topic Options
Rate This Topic
#15328 - 08/26/03 05:48 AM Wiping index.dat
visage Offline
Junior Member

Registered: 06/12/03
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?

Sponsored Links
#15329 - 08/26/03 02:23 PM Re: Wiping index.dat
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: 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

#15330 - 08/26/03 02:50 PM Re: Wiping index.dat
visage Offline
Junior Member

Registered: 06/12/03
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?


#15331 - 08/26/03 05:17 PM Re: Wiping index.dat
Gremelin Offline

Community Owner

Registered: 02/28/02
Posts: 7193
Loc: 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, Elite Web Gamers & VNC Web Design Owner

#15332 - 08/27/03 02:30 AM Re: Wiping index.dat
visage Offline
Junior Member

Registered: 06/12/03
Posts: 14
haha, I picked up the new one today without even seeing your post. Coincidence? I think not...



Featured Member
Registered: 04/29/15
Posts: 2
Forum Stats
2158 Members
46 Forums
41462 Topics
76636 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 34624
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, Suri John
2157 Registered Users
Who's Online
0 registered (), 279 Guests and 201 Spiders online.
Key: Admin, Global Mod, Mod
Latest News

  Get Firefox!
Get FireFox!