如何确定特定文件是否在Windows中打开? [英] How can I determine whether a specific file is open in Windows?

查看:112
本文介绍了如何确定特定文件是否在Windows中打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最喜欢的linux工具之一是 lsof - 一个真实的

One of my favourite tools for linux is lsof - a real swiss army knife!

今天我发现自己想知道在WinXP系统上有哪些程序打开了一个特定的文件。 lsof有什么等效的实用程序吗?此外,有问题的文件是通过网络共享,因此我不确定是否会使问题变得复杂。

Today I found myself wondering which programs on a WinXP system had a specific file open. Is there any equivalent utility to lsof? Additionally, the file in question was over a network share so I'm not sure if that complicates matters.

推荐答案

使用 Process Explorer 来自Sysinternals Suite,查找句柄或DLL函数将允许您搜索该文件打开的进程。

Use Process Explorer from the Sysinternals Suite, the Find Handle or DLL function will let you search for the process with that file open.

这篇关于如何确定特定文件是否在Windows中打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆