用于找出谁在锁定文件的命令行工具 [英] 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 应该可以解决问题.
有没有想过哪个程序打开了特定的文件或目录?现在你可以知道了.句柄是一个显示信息的实用程序关于系统中任何进程的打开句柄.你可以用它来查看打开文件的程序,或查看对象类型和程序的所有句柄的名称.
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屋!