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.

Deleting files, skipping 'in use' files

Discussion in 'Windows XP' started by cini, 2006/06/10.

  1. 2006/06/10
    cini

    cini Inactive Thread Starter

    Joined:
    2006/06/09
    Messages:
    1
    Likes Received:
    0
    I routinely delete files manually in the cookies and temporary folders. Many times while deleting a range of files, a message box will pop-up indicating that a particular file may be in use and cannot be deleted. After clicking Okay, instead of continuing the deletion of remaining files, the file manager halts the deletion process leaving deletable files in the folders . Is there a way to overcome the interruption and have file manager complete deletion of all of the erasable files and just ignore those than cannot be erased? :confused:
     
    cini,
    #1
  2. 2006/06/10
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    cini - Welcome to the Board :)

    What you describe is the default behaviour in XP.

    The workaround ....

    In Windows Explorer check that there is a column headed 'Date Modified'. If there is not right click on a column header, e.g. Name and check 'Date Modified'. Then go to Tools > Folder Options > View and click on Apply to all Folders.

    When deleting Temporary Files click on Date Modified to order from latest date to oldest date.

    In Cookies sort by Last Accessed.

    Highlight those files with yesterday's date or older and delete. Only those files dated today and possibly in use, will remain.
     

  3. to hide this advert.

  4. 2006/06/11
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    cini--
    I understand you have a folder with several files, want to delete all and then get that message. If I am trying to delete files when I have been using the PC for a while (and several programs are running), I have never found a way to have the delete function skip the files in use and delete the rest.
    Maybe someone else can comment.
    Having said that,
    1) Close the program whose files are "in use" (use Task Manager if necessary) and try again?
    2) Or (very clunky) delete each file individually. If you get the message again, you will have to close that program, too.
    If you do not know what program is involved, then I sometimes find that if I reboot, files that produced the message now have, in fact, been deleted.
    3) Reboot in SafeMode. Now you may be able to delete all files without getting the message, since very few programs start in Safe Mode.
    PeteC has also given you some good advice about what files should not be deleted. If you have installed a new program, you should reboot before trying to delete any files, especially Temp files dated the day of installation. Those files may still be needed and the installation may not be complete until you reboot. Then you can delete the Temp files.
     
    Last edited: 2006/06/12
  5. 2006/06/11
    Liam Lifetime Subscription

    Liam Inactive

    Joined:
    2003/02/21
    Messages:
    199
    Likes Received:
    0
    When I get this error, i close explorer through Task manager - restart it then i can delete the files.

    Maybe doing this before starting to delete will stop this error showing in the first place

    Regards,
     
    Liam,
    #4
  6. 2006/06/12
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    It is not an error - you cannot delete files which are currently in use. In this particular case cini was referring to temporary files and cookies - there will always be some temp files in use while the computer is running.
     

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.