📄 handle.htm
字号:
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<br>
<br>
You can also get a GUI-based version of this program,
<a href="procexp.shtml"><i>Process Explorer</i></a>,
here at Sysinternals.</td>
</tr>
<tr>
<td colspan="3" height="40" valign="middle"><span class='sectionheader'>Installation</span></td>
</tr>
<tr>
<td valign="TOP" colspan="3"> You run <i>Handle </i>
by typing "nthandle". You must have administrative
privilge to run <i>Handle</i>.<br>
<br>
<i>Handle </i> works on Windows 9x/Me and Windows
NT/2000.</td>
</tr>
<tr>
<td height="40" colspan="3" valign="middle"><span class='sectionheader'>Usage</span></td>
</tr>
<tr>
<td colspan="3" valign="TOP"> <i>Handle </i> is targetted
at searching for open file references, so if you
do not specify any command-line parameters it will
list the values of all the handles in the system
that refer to open files and the names of the files.
It also takes several parameters that modify this
behavior. <br>
<br>
<b>usage: handle [-a] [-p process] [name]</b><br>
<table width="100%" border="0" cellspacing="2">
<tr>
<td valign="top"><b> -a</b></td>
<td><b> </b>Dump information about all
types of handles, not just those that refer
to files. Other types include ports, Registry
keys, synchronization primitives, threads,
and processes.</td>
</tr>
<tr>
<td valign="top"><b> </b><b> -p process</b></td>
<td>Instead of examining all the handles in
the system, this parameter narrows <i>Handle
For Windows NT's</i> scan to those processes
that begin with the name <i>process</i>. Thus:<br><br>
<b>handle -p exp</b><br>
<br>
would dump the open files for all processes
that start with "exp", which would
include Explorer.</td>
</tr>
<tr>
<td valign="top"><b> name</b></td>
<td>This parameter is present so that you can
direct <i>Handle</i> to search for references
to an object with a particular name. For example,
if you wanted to know which process (if any)
has "c:\winnt\system32" open you
could type:<br><br>
<b>handle winnt\system</b><br>
<br>
The name match is case-insensitive and the
fragment specified can be anywhere in the
paths you are interested in.</td>
</tr>
<tr>
<td colspan="3" height="40" valign="middle"><span class='sectionheader'>Handle
Output</span></td>
</tr>
<tr>
<td valign="TOP" colspan="3"> When not in search
mode (enabled by specifying a name fragment
as a parameter), <i>Handle for Windows NT
</i> divides its output into sections for
each process it is printing handle information
for. Dashed lines are used as a separator,
immediately below which you will see the process
name and its process id (PID). Beneath the
process name are listed handle values (in
hexadecimal), the type of object the handle
is associated with, and the name of the object
if it has one.<br>
<br>
When in search mode, <i>Handle for Windows
NT </i> prints the process names and id's
are listed on the left side and the names
of the objects that had a match are on the
right. </td>
</tr>
<tr>
<td colspan="3" height="40" valign="middle"><span class='sectionheader'>More Information</span></td>
</tr>
<tr>
<td valign="TOP" colspan="3"> You can find more
information on the Object Manager in <i><a href="../../insidew2k.shtml">Inside
Windows 2000, 3rd Edition</a></i>, or by browsing
the Object Manager name-space with <a
href="../../ntw2k/freeware/winobj.shtml">WinObj</a>.</td>
</tr>
<tr>
<td colspan="3" height="40" valign="middle"><span class='sectionheader'>Related Tools</span></td>
</tr>
<tr>
<td valign="TOP" colspan="3"> Here are some
other monitoring tools available at Sysinternals:
<ul>
<li><a
href="procexp.shtml">Process Ex</a>plorer - a GUI-based DLL and handle viewer
for Win9x/Me and NT/Win2K</li>
<li><a
href="../../ntw2k/freeware/listdlls.shtml">ListDLLs</a> - a command-line DLL viewer
for Win9x/Me and NT/Win2K</li>
</ul>
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" height="40" valign="middle" align="center">
<p> </p>
<p><a href="../../files/handle.zip"><b>Download
Handle (18KB)</b></a></p>
<a href="#top"><b>Back to Top</b></a> </td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
<!-- #EndEditable --></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -