It seems annoying when you want to rename, delete or move a file and you got a message that you could not. This message occurs because the file is also in use by another process. You feel more irritation if you close all opened programs but still you got the message “Cannot delete a file because it is in use by another program”. Oops! What it is?
Actually the Windows don’t have control on who asks for file opening. Similarly, when you close app, it expect that the app is closed and release control from that file. But! Sometimes you close the app but because of any error the file is not closed and windows suppose that the file is still opened. This is the reason when you try to perform any action on file and it doesn’t let you to do so. By using Process Explorer, you can check that which particular file has opened by process and also you can forcefully close the app. Below you will see how to close app by Process Explorer
- Click on “Find “and then select “Find Handle or DLL”.
- Type file name that you want to open and then click on “Search” button.
- Process Explorer will show you the process name that has opened the file. Select that process and then click “Cancel” button to close it.
- Return to main Process Explorer window, right click on name of handle and choose “Close Handle”. Done! Now you can easy do whatever you want with that file.













