通常在我的开发工作站(我是管理员和唯一用户)上,我无法通过删除根文件夹来删除文件 – 尽管已经递归获取了树的所有权.我假设这是由于文件被另一个进程锁定.
我有哪些(可编写脚本)选项可以帮助到这里?
评论:我也应该说我是2008 x64.
您可以使用
LockHunter查看哪个进程阻止删除文件.它是Windows的免费软件工具(32位和64位版本可用),它集成到Windows资源管理器上下文菜单中.
原文链接:https://www.f2er.com/windows/369342.htmlIt is a free tool to delete files
blocked by something you do not know.
LockHunter is useful for fighting
against malware,and other programs
that are blocking files without a
reason. Unlike other similar tools it
deletes files into the recycle bin so
you may restore them if deleted by
mistake.
LockHunter Screenshot http://lockhunter.com/images/mainScreenshot.png