6 ms·
It's the right thing to give an error that some process has the file open but never tell you which process that is?
by BubRoss 7y ago
It's the right thing to give an error that some process has the file open but never tell you which process that is?
- pjmlp 7y agoIt might not be the most user-friendly way, but sure tops removing the file altogether.
- latitude 7y agoThat’s an UI issue with the tool. The underlying behavior is correct though - people with open handles have the priority unless they have explicitly stated that deleting a file while they use it is OK.
- BubRoss 7y agoWhat tool? That's windows' behavior. I would agree that locking a file and preventing deletion is good or possibly queueing a file for deletion when it is free, but windows does not handle this scenario well.
- Ididntdothis 7y agoTelling you what process has a folder or file open should be added to windows explorer. It’s hard to explain why it isn’t.
- SAI_Peregrinus 7y agoA workaround to this is to use Process Explorer[1] to search for the filename, then kill the process that has a handle with that file name. [1] https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer https://docs.microsoft.com/en-us/sysinternals/downloads/proc...