Jump to content

Can't Delete Directory/File

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Chan

Chan

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 204 posts
I'm trying to delete a directory and I get getting this error:

"Cannot delete <filename>.ext: It is being used by another person or program. Close any programs that might be using the file and try again."

But no one else uses this computer and I'm not using the file any more. Any idea about this?

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
The file can be used by some process on your computer. A lot of processes are running on your computer all the time. You could try to find some information about the file, like which program is using it, or if it's a system-file, etc.

#3
Chan

Chan

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 204 posts
I can't find anything using it though. Any ideas on this?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I have this happen from time to time with OpenOffice, where it hasn't completely exited from memory or it failed to inform Windows that it was done using a file.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Guest_Jordan_*

Guest_Jordan_*
  • Guests
This may help you: Cannot delete a file in Windows XP? Here's the simple way to delete the file and remove the access denied error.

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Sometimes this happens to me too.. I just restart the PC and then I can delete it.