用于查找谁锁定文件的命令行工具 [英] Command-line tool for finding out who is locking a file
问题描述
我想知道谁在锁定一个文件(win32)。我知道 WhoLockMe ,但我想要一个命令行工具
I would like to know who is locking a file (win32). I know about WhoLockMe, but I would like a command-line tool which does more or less the same thing.
我还查看了,但它似乎只适用于远程打开的文件。
I also looked at this question, but it seems only applicable for files opened remotely.
推荐答案
Handle should do the trick.
有没有想过哪个程序有特定的文件或目录打开?
现在你可以找到了。 Handle是一个实用程序,显示关于系统中任何进程的打开句柄的信息
。你可以使用
查看有文件打开的程序,或查看程序所有句柄的对象类型和
名称。
Ever wondered which program has a particular file or directory open? Now you can find out. Handle is a utility that displays information about open handles for any process in the system. You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program.
这篇关于用于查找谁锁定文件的命令行工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!