Discussion Locked

cannot delete file

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

the file error states: "file in use by application" in Win2000. even in safe mode.

tried dos to delete the file, dos shows the file in {dir} but cannot find file to delete it!

anys suggestions on tracking down the "mystery" app that windows thinks has control over this file?

7 replies

by ann777

If you are sure that you want to remove this file (it's not a system files is it?)....

at the DOS prompt, in the proper subdirectory, type:

attrib -h filename.ext

That will "unhide" it. You should be able to delete it then. If you cannot, it is probably a system file that Win2000 needs. You can also type:

attrib -s filename.ext

The -s will remove the System file flag, and you can delete it then.... but you may be killing Win2000 by doing that.

by raffi_

More infor please. What is the file name?

(Sorry Anna77 - simply unhiding the file or removing it's system attribute will not unlock the file. Most OS's will lock a file when in use by an application and that has nothing to do with their HIDDEN/SYSTEM/READ_ONLY/ARCHIVE flag.)

by mariem

We've had similar problems when our anti-virus software running dynamic virus protection wouldn't let us delete or sometimes save. Try disabling it, if running.
HTH

This discussion is closed to new replies.