windows 如何强制删除文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/693076/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to force delete a file?
提问by Jakub Arnold
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?
如何强制 Windows XP 删除某个应用程序当前正在使用的文件?
回答by Konstantin Tarkus
You have to close that application first. There is no way to delete it, if it's used by some application.
您必须先关闭该应用程序。如果某个应用程序使用了它,则无法删除它。
UnLock ITis 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.
UnLock IT是一个简洁的实用程序,可帮助您在被某些应用程序或系统锁定时控制任何文件或文件夹。对于每个锁定的资源,您都会获得一个锁定进程列表,并且可以通过终止这些进程来解锁它。EMCO Unlock IT 提供 Windows 资源管理器集成,允许通过在上下文菜单中一键解锁文件和文件夹。
There's also Unlocker(not recommended, see Warningbelow), 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.
还有Unlocker(不推荐,请参阅下面的警告),这是一个免费工具,可帮助您定位正在运行的任何文件锁定句柄,并为您提供将其关闭的选项。然后你可以继续对这些文件做任何你想做的事情。
Warning: The installer includes a lot of undesirable stuff. You're almost certainly better off with UnLock IT.
警告:安装程序包含很多不需要的东西。使用 UnLock IT,您几乎肯定会过得更好。