How can I determine whether a specific file is open in Windows? [closed] How can I determine whether a specific file is open in Windows? [closed] windows windows

How can I determine whether a specific file is open in Windows? [closed]


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


The equivalent of lsof -p pid is the combined output from sysinternals handle and listdlls, ie

handle -p pidlistdlls -p pid

you can find out pid with sysinternals pslist.


Try Handle. Filemon & Regmon are also great for trying to figure out what the duce program foo is doing to your system.