Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force delete a file? [closed]

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here.

How can i force Windows XP to delete file that is currently being used by some application?

like image 897
Jakub Arnold Avatar asked Mar 28 '09 16:03

Jakub Arnold


People also ask

How do you force delete a file even if it is open?

Force delete using WindowsWith the command prompt open, enter del /f filename , where filename is the name of the file or files (you can specify multiple files using commas) you want to delete.

How do you force delete a file that is being used?

In the command window, type the DEL /F file name command and press Enter to force delete the file that is in use.


1 Answers

You have to close that application first. There is no way to delete it, if it's used by some application.

UnLock IT is a neat utility that helps you to take control of any file or folder when it is locked by some application or system. For every locked resource, you get a list of locking processes and can unlock it by terminating those processes. EMCO Unlock IT offers Windows Explorer integration that allows unlocking files and folders by one click in the context menu.

There's also Unlocker (not recommended, see Warning below), which is a free tool which helps locate any file locking handles running, and give you the option to turn it off. Then you can go ahead and do anything you want with those files.

Warning: The installer includes a lot of undesirable stuff. You're almost certainly better off with UnLock IT.

like image 70
Konstantin Tarkus Avatar answered Sep 29 '22 04:09

Konstantin Tarkus