zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Win7系统中如何查看当前文件被哪一个程序占用了

文件系统程序 如何 一个 查看 当前 占用
2023-09-11 14:14:22 时间

https://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows

使用系统的资源监视器 

在win7开始菜单--运行中,输入资源监视器

打开之后,选择CPU,在关联句柄的地方输入文件名字

 

然后就可以看到哪一个程序在占用文件

 

使用ProcessExplorer

https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer

Go to Find > Find Handle or DLL. In the "Handle or DLL substring:" text box, type the path to the file (e.g. "C:\path\to\file.txt") and click "Search".

All processes which have an open handle to that file should be listed.