Copyright (C) 1997-2006 Mark Russinovich
Sysinternals - www.sysinternals.com
usage: handle [[-a] [-u] | [-c <handle> [-y]] | [-s]] [-p <process>|<pid>] [name
-a Dump all handle information.
-c Closes the specified handle (interpreted as a hexadecimal number).
You must specify the process by its PID.
WARNING: Closing handles can cause application or system instability.
-y Don't prompt for close handle confirmation.
-s Print count of each type of handle open.
-u Show the owning user name when searching for handles.
-p Dump handles belonging to process (partial name accepted).
name Search for handles to objects with <name> (fragment accepted).
No arguments will dump all file references.
Ever wondered which program has a particular file or directory open? Now you can find out.
Handle is a utility that displays information about open handles for any process in the system.
You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program.