File in Use – The file is opened in another program

When you want to delete or move a file, Windows complains with the following message:

File in Use
This action can not be done because the file is opened in another program

IMAGE1

 Close the application

Above all else, make sure that the file is not open in one of your windows. If necessary, close this window, or even all the windows of the same application.

Remove with the console

If this still does not work, you can try to delete the file using the MS-Dos.
To do this, click on Start / Run and type the following command:
CMD

By using the cd command, change the directory to move into the directory containing the file to delete and type the following command:
Del nom_de_votre_fichier

If the console displays the following message, go to the next step, if it works:
Allemand à : AnglaisAllemand à : FrançaisAnglais à : AllemandAnglais à : ArabeAnglais à : Chinois (simplifié)Anglais à : Chinois (traditionnel)Anglais à : CoréenAnglais à : EspagnolAnglais à : FrançaisAnglais à : GrecAnglais à : ItalienAnglais à : JaponaisAnglais à : NéerlandaisAnglais à : PortugaisAnglais à : RusseArabe à : AnglaisChinois à : AnglaisChinois (simplifié à : traditionnel)Chinois (traditionnel à : simplifié)Coréen à : AnglaisEspagnol à : AnglaisFrançais à : AllemandFrançais à : AnglaisGrec à : AnglaisItalien à : AnglaisJaponais à : AnglaisNéerlandais à : AnglaisPortugais à : AnglaisRusse à : Anglais 
 
IMAGE2

Determine the application with Process Explorer

Thanks to explore the process tool, it is possible to know what application uses a file.
To find out:
Download and run explore process.
Then, in the open window and click on “Find” and then “find handle or DLL.”
Enter the name of the file in question and confirm
Try to kill the application by clicking on its name with the right mouse button and “Kill process”

Delete in Safe Mode

If at this stage you still have not managed to delete the file, you can restart in Safe Mode.

Once loaded Windows in safe mode, the file should be supprimable

 

Leave a Reply