如何关闭特定文件的其他处理程序以将其删除 [英] How to close other handlers of particular file to delete it
本文介绍了如何关闭特定文件的其他处理程序以将其删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在删除特定文件之前,如何关闭所有指向该文件的指针处理程序.我想避免出现错误消息由于该文件正在被另一个进程使用而无法删除" ...
谁能给我一个很好的链接????
How to close the all pointer handlers that is pointed to particular file, before delete it. I want to avoid error message "can not delete because the file is being used by another process"...
Can anyone give me a good link ???
推荐答案
您可以通过以下代码调用此实用程序:
http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml [^ ]
You could call this utility form your code:
http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml[^]
这篇关于如何关闭特定文件的其他处理程序以将其删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文