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] [/?]


/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.


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

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