help deleting a file

Discussion in 'Windows Desktop Systems' started by uptown, Dec 12, 2002.

  1. uptown

    uptown Guest

    I am trying to delete a file and it says that it is currently being used by another person or program. I have restarted my computer to make sure that there are no unusual programs running, and i still can not get rid of it. Any thoughts?

    Thanks in advance!!!

  2. Hipster Doofus

    Hipster Doofus Good grief Charlie Brown

    Melbourne Australia
    See how you go with this.

    Deleting files - Access Denied Error

    Explorer.exe in XP has a bad habit of wanting to hang on to files, even when you have finished using them - therefore when you try to delete the file, XP will say "Access Denied".
    This error occurs more often when working with media files - mp3, avi, mpeg etc.
    Close all open applications.
    Open a command prompt and navigate to the directory with the offending files.
    Then open the Task Manager and click on the Processes tab. select "explorer.exe" under Image Name. Click "End Process".
    That will leave you with only the command prompt and the task manager running.
    Now at the Command Prompt, its time to delete the file(s). Using the DEL command. Example c:>\movies\DEL movie.avi
    Now the files are deleted, go to the task manager and click on the Applications tab. Click the "New Task" button. in the dialog, type explorer.exe and click OK.

    For folders the command is 'rd'.
  3. Glaanieboy

    Glaanieboy Moderator

    The Netherlands
    Thanks Hipster, didn't knew this!
  4. uptown

    uptown Guest

    thank you very much that worked like a charm!!!! once again the wonderfull people of this board taught me something new!!

    Thanks again!!!
  5. Burpster

    Burpster Guest

    i use this little app to do it Copying/Moving/Deleting on Next Boot

    works like a charm :)
    app is here
  6. uptown

    uptown Guest

    downloading right now for future use. thanks!!
  7. sboulema

    sboulema Moderator

    Amstelveen, The Netherlands
    me uses that program 2. Works very good, but the pther way is also very cool :)
  8. Hipster Doofus

    Hipster Doofus Good grief Charlie Brown

    Melbourne Australia
    Sometimes even that program won't delete the file. That's when it's time to pull out the big guns. ;)
  9. Yoz

    Yoz Guest

    You could always use deltree from dos that usually does the trick for me.