fuser on win32
In case you were wondering if there’s a fuser.exe utility (just like I did today), for native windows programs (not the cygwin-only port), http://www.sysinternals.com has the answer, of course: handle.exe, which manages to do exactly what fuser does.
Good luck with “safely removing” your hardware, now!
Example:
C:\\>handle -u c:\\WINDOWS\\system32\\config\\SAM
Handle v3.11
Copyright (C) 1997-2005 Mark Russinovich
Sysinternals - www.sysinternals.com
System pid: 4 NT AUTHORITY\\SYSTEM 164: C:\\WINDOWS\\system32\\config\\SAM
System pid: 4 NT AUTHORITY\\SYSTEM 48C: C:\\WINDOWS\\system32\\config\\SAM.LOG
(P.S. Contratulations for the guys at SysInternals for “Process Explorer” and “Handle”, too bad they haven’t named it “fuser.exe” to show up in a common search…)
Leave a comment