1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Erasing/Deleting .dat files

Discussion in 'Other PC Software' started by ttran, 2003/05/01.

Thread Status:
Not open for further replies.
  1. 2003/05/01
    ttran

    ttran Inactive Thread Starter

    Joined:
    2003/01/17
    Messages:
    6
    Likes Received:
    0
    Hello,

    Does any one know how to safely delete .dat files without having to buy commercial programs to do it? I've checked in Google and 99.99% of the programs are either trial versions or commercial types. The free ones don't erase "index.dat" files.

    Thank you,

    TT
     
  2. 2003/05/01
    markp62

    markp62 Geek Member Alumni

    Joined:
    2002/05/01
    Messages:
    4,012
    Likes Received:
    16
    Delete them from dos. If running 9x, you would Restart in Dos Mode. First, delete any cookies you do not want while in Windows. Use these commands, these will delete the ones for cookies, history and temp IE files, pressing Enter at the end of each line;

    smartdrv
    del c:\windows\cookies\index.dat
    deltree c:\windows\history
    deltree c:\windows\tempor~1
    Press Y if you really want to delete, make sure spelling is correct. The folders being deleted will be recreated when windows restarts.
    If you do not want to save any cookies, you can use the below instead of the line below smartdrv;
    deltree c:\windows\cookies
     
    Last edited: 2003/05/01

  3. to hide this advert.

  4. 2003/05/02
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Best to delete all cookies using the DOS method shown above. The deltree command will delete the folder and all contents, including sub folders. The folders will get recreated anew at next boot.

    This is better than deleting cookies in windows first. All cookies will get deleted just using deltree c|\window\cookies.

    Don't try and svae some cookies and then put em back in cookies folder because the new index.dat file will have no reference to these cookies. Doing this will lead to an eventual corrupted cache.
     
  5. 2003/05/04
    alboy

    alboy Well-Known Member

    Joined:
    2002/01/09
    Messages:
    538
    Likes Received:
    4
    Interesting program

    Interesting reading Here called Spider
     
    Last edited: 2003/05/04
  6. 2003/05/04
    merlin

    merlin Inactive

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    .... as long as you realise that not all cookies are harmful and many are helpful, like those that assist a login to this board.
    Always deleting them all and the index.dat will mean you have to allow a download of these login cookies every time you visit here and want an automatic login.
    For this reason, I prefer to spend a few $ on an app that cleans
    the cookies folder BUT allows you to keep those you specify.
    regards
     
  7. 2003/05/04
    mflynn

    mflynn Inactive

    Joined:
    2002/08/14
    Messages:
    4,141
    Likes Received:
    9
    In 9X and ME you can delete all these while in windows by doing the following.

    1. Ctrl Alt Del for taskmgr - Hilite and end Explorer

    2. Repeat Ctrl Alt Del to confirm Explorer is gone - at this time you may get a "This program is not responding" click to end this task.

    Now you can enter the windows command prompt and use the commands above delete away any index.dat files etc.

    Even though you are still in windows the command prompt is still nessesary because windows functions themselves are written to not allow deletion of these files even if they are not Read only System or Hidden.

    Additionally to find all these files as windows will not show all of them anyway do this.

    Most people don't know you can use attrib to find files, and it is nessesary to use attrib to find Hidden system files. So at command prompt type

    attrib index.dat /s

    The /s causes attrib to search the entire current drive.

    While here you can also del the Win386.swp file also. Check the root and windows\folder for this file.

    When finished restart to get back to normal!

    Mike
     
  8. 2003/05/04
    mflynn

    mflynn Inactive

    Joined:
    2002/08/14
    Messages:
    4,141
    Likes Received:
    9
    Oh forgot!

    In 2K and XP you can delete these files for any other user but not the loged on user.

    So to do a full cleaning of these files while loged on as administrator get rid of everyone else's index.dat etc then log off and back on under a different user (that has suffecient rights of course) and then del the Administrator index.dats and etc.

    mike
     
  9. 2003/05/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    If using win2k you can delete any file when logged on as admin, using the above post with Task manager. The advantage in win2k is a reboot is not necessary after ending task on Explorer.EXE. The win2k task manager allows one to start any new process, so after deleting the folders via a command window, restart Explorer.EXE in task manager. No need to log off and log back on.
     
  10. 2003/05/04
    mflynn

    mflynn Inactive

    Joined:
    2002/08/14
    Messages:
    4,141
    Likes Received:
    9
    Yes that is what I was trying to say. You can not del the current logged on users index.dat files until you end explorer.

    Just another way to do it!

    Or just get everyone else and log on as a different user and get Administrator.

    Mike
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.