Windows Tools

OH Syntax

Overview | Notes | Syntax | Examples | Related Tools Open Command Prompt

OH uses the following syntax:

One Step oh [/p ClientID] [/t TypeName] [/o FileName] [/a] [Name] [/?]

Parameters

/p ClientID
Displays open handles for the process with an ID of ClientId.
/t TypeName
Displays open object names of the specified type. Examples include Key, File, Directory, Desktop, Semaphore, Mutant, Section, Event, Thread.

Note

Use the /a parameter to display unnamed objects of the specified type.

/o FileName
Specifies the name of the file that writes output.
/a
Includes objects with no name.
Name
Displays handles that contain the specified name.
/?
Displays command-line Help.