当Process Explorer和Handle不起作用时,如何找出使用文件的进程?


1

我如何找出使用此文件的进程? Windows 8.1。

C:\Users\Chloe\workspace\Teads>echo Hello > selenium.log
The process cannot access the file because it is being used by another process.

Imgur

C:\Users\Chloe\workspace\Teads>"\Program Files (x86)"\handle selenium.log

Handle v4.0
Copyright (C) 1997-2014 Mark Russinovich
Sysinternals - www.sysinternals.com

No matching handles found.

Answers:


1

我必须以管理员身份在提升的命令shell中运行。

C:\Users\Chloe\workspace\Teads>"\Program Files (x86)"\handle selenium.log

Handle v4.0
Copyright (C) 1997-2014 Mark Russinovich
Sysinternals - www.sysinternals.com

chrome.exe         pid: 9252   type: File            20: C:\Users\Chloe\workspace\Teads\selenium.log
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.